Are you travelling to a new location and want to know what to watch and read before you get there?
Use On Location to search the map for stories set in your favorite locations.
Pins are fetched using the northeast and southwest corners of the current map coordinates, delivered as query params in the URL.
// req.query
{
"ne": String, // format: `lat,lon`
"sw": String // format: `lat,lon`
}
// req.body
{}
// res.body
[
{
"media": String, // one of "movie", "book", "tv_show", or "tv_episode"
"title": String,
"link": String, // must be valid URL
"lat": Float, // latitude of location
"lon": Float // longitude of location
},
...
]// req.body
{
"media": String, // one of "movie", "book", "tv_show", or "tv_episode"
"title": String,
"link": String, // must be valid URL
"lat": Float, // latitude of location
"lon": Float // longitude of location
}
// res.body
{
"media": String, // one of "movie", "book", "tv_show", or "tv_episode"
"title": String,
"link": String, // must be valid URL
"lat": Float, // latitude of location
"lon": Float, // longitude of location
"id": Int
}