Search named places
curl --request GET \
--url https://api.gabin.ai/v1/places \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gabin.ai/v1/places', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gabin.ai/v1/places"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"name": "<string>",
"category": "<string>",
"building_id": "<string>",
"city": "<string>",
"location": {
"[0]": 123,
"[1]": 123
}
}
],
"meta": {
"page": {
"next_cursor": "<string>",
"limit": 0
},
"total": 0,
"total_kind": "exact"
}
}Addresses
Search named places
Named places (residences, hospitals, schools, care homes, hotels…) by name, from the BD TOPO, the condominium register and other public sources, each with its building. A city at the end narrows the search (“orangerie ecully”). Next: GET /v1/buildings/.
GET
/
v1
/
places
Search named places
curl --request GET \
--url https://api.gabin.ai/v1/places \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gabin.ai/v1/places', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gabin.ai/v1/places"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"name": "<string>",
"category": "<string>",
"building_id": "<string>",
"city": "<string>",
"location": {
"[0]": 123,
"[1]": 123
}
}
],
"meta": {
"page": {
"next_cursor": "<string>",
"limit": 0
},
"total": 0,
"total_kind": "exact"
}
}Authorizations
API key gab_live_… or OAuth access token gat_….
Query Parameters
Name of a place, optionally followed by its city. Example: "hopital edouard herriot lyon".
Required string length:
4 - 120Results, 1 to 10. Default 5.
Required range:
1 <= x <= 10⌘I