I am trying to use the API Place_GetByGeo, but it seems not working.
API: Place_GetByGeo (TfL Unified API)
Response:
{
“statusCode”: 404,
“message”: “Resource not found”
}
I am trying to use the API Place_GetByGeo, but it seems not working.
API: Place_GetByGeo (TfL Unified API)
Response:
{
“statusCode”: 404,
“message”: “Resource not found”
}
Welcome @miphan
If you change placeGeo.lat to lat and placeGeo.lon to lon the call works.
You might want to scale down your radius, 5km is a very large sweep.
You should be using the docs on the new portal (api-portal.tfl.gov.uk), for this endpoint the docs are here:
The old docs should probably either be updated to match or be removed altogether to reduce confusion.