You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Carly Lebeuf edited this page Jan 15, 2015
·
1 revision
Public REST API
beLocal utilizes a REST API to interface between the database server and the client. This page contains the REST endpoints available for public use. The live API is accessible from https://belocalvictoria.me/api/<endpointURL>. If you are interested in using any of our other endpoints, please contact us at belocalvictoria@gmail.com
List Markets
Description: Return a list of all markets currently listed on beLocalVictoria.me
"id":53,
"address":{
"id":55,
"addr_line1":"1701 Douglas Street",
"city":"Victoria",
"zipcode":"V8W 0C1",
"state":"BC",
"country":"Canada",
"latitude":48.429456,
"longitude":-123.36448,
"hours":[
{
"weekday":3,
"from_hour":"11:00AM",
"to_hour":"03:00PM"
}
]
},
"name":"Victoria Public Market - Indoor Farmers' Market",
"description":"As a subset of the Victoria Public Market at the Hudson, the year-round weekly indoor farmers' market shows off some of the best local farmers and foodmakers that Victoria has to offer.",
"total_likes":3,
"is_liked":null,
"photo":{
"id":53,
"image_url":"https://belocalvictoria.me/static/media/markets/VPMI_G1eileY.jpg"
},
"webpage":"http://victoriapublicmarket.com/"
}