Skip to content
 
 

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

enghack2018

Commands

lib .plates --latitude 40.749319 --longitude -73.986089

Backend API

Example URL: https://rickycaocao.lib.id/backend/plates?latitude=40.749319&longitude= -73.986089

URL: https://rickycaocao.lib.id/backend/plates

Required Params:

  • latitude
  • longitude

Optional Params (and defaults):

  • category = 'food'
    • food category, eg. 'mexican'
  • count = 20
    • number of plates to return
  • offset = 0
    • for pagination

Return: Array of objects

[
    {
        "name": "R&R Burger Place",
        "food_img": "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg",
        "type": "burgers",
        "rating": 5,
        "price": "$$",
        "offset": 1
    }
]

About

EngHack 2018 Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages