Smoky API
Smoking areas in Taipei from the city's open data, refreshed daily, in English or Chinese.
We take the City of Taipei list of smoking areas every day and translate it from Traditional Chinese, the original.
List locations
Every smoking area the City of Taipei lists today.
Headers
| Accept-Languagestring | en, the default, or tw for Traditional Chinese. zh counts as tw; any other code gets English |
Response
| idinteger | Stable ID from the city's data |
| districtstring | Taipei district |
| namestring | Such as Taipei Gymnasium |
| addressstring | Street address within the district |
| typestring | Kind of smoking area, such as an outdoor open area |
| hoursstring | Opening hours |
| relative_positionstring | Where it is on the site, such as 3F North Terrace. May be empty |
| managing_unitstring | Who looks after it |
| phonestring or null | Phone of the managing unit |
| lat, lngnumber or null | Coordinates, WGS84 |
| photo_urlstring or null | A photo of the place |
| remarksstring | Notes from the city's data. May be empty |
GETapi.calenzy.app/v1/smoky/locations
curl "https://api.calenzy.app/v1/smoky/locations" \ -H "Authorization: Bearer YOUR_API_KEY"
GETapi.calenzy.app/v1/smoky/locations
Accept-Language: tw
curl "https://api.calenzy.app/v1/smoky/locations" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept-Language: tw"
[ { "id": 1, "district": "Songshan District", "name": "Taipei Gymnasium", "address": "No. 10, Sec. 4, Nanjing E. Rd.", "type": "Outdoor open smoking area", "hours": "Open 24 hours", "relative_position": "", "managing_unit": "Taipei City Government Sports Department", "phone": "(02)25702330", "lat": 25.05135, "lng": 121.55292, "photo_url": null, "remarks": "" } ]