Public
Like
bicycleWeather
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
main.tsx
https://tyler71--7e36a778279911f09d52569c3dd06744.web.val.run
Upstream /kingishb/blackLobster
Why this one? Takes in a query string of lat, lon and timezone, returns a list of good biking days as an API response.
Query Params:
- lat
- lon
- tz
Example query: ?lat=47.606209&lon=-122.332069&tz=America/Los_Angeles
Example response:
{ "status": "success", "message": "Retrieved Times", "data": { "biking": [ { "start": "Wed 11:00 AM", "end": "Wed 6:00 PM" }, { "start": "Thu 10:00 AM", "end": "Thu 6:00 PM" }, { "start": "Fri 9:00 AM", "end": "Fri 6:00 PM" }, { "start": "Sat 8:00 AM", "end": "Sat 6:00 PM" }, { "start": "Sun 9:00 AM", "end": "Sun 6:00 PM" }, { "start": "Mon 10:00 AM", "end": "Mon 6:00 PM" } ] } }
Migrated from folder: endpoints/outdoorFairWeather