mobilizon.chapril.org-mobil.../test/fixtures/vcr_cassettes/geospatial/addok/geocode.json
2020-06-30 09:16:32 +02:00

31 lines
1.5 KiB
JSON

[
{
"request": {
"body": "",
"headers": {
"Accept": "*/*",
"Accept-Encoding":"deflate, gzip"
},
"method": "get",
"options": [],
"request_body": "",
"url": "https://api-adresse.data.gouv.fr/reverse/?lon=4.842569&lat=45.751718"
},
"response": {
"binary": false,
"body": "{\"type\": \"FeatureCollection\", \"version\": \"draft\", \"features\": [{\"type\": \"Feature\", \"geometry\": {\"type\": \"Point\", \"coordinates\": [4.842569, 45.751718]}, \"properties\": {\"label\": \"10 Rue Jangot 69007 Lyon\", \"score\": 0.9999999999926557, \"housenumber\": \"10\", \"id\": \"69387_3650_00010\", \"type\": \"housenumber\", \"x\": 843232.29, \"y\": 6518573.31, \"importance\": 0.5454797306366062, \"name\": \"10 Rue Jangot\", \"postcode\": \"69007\", \"citycode\": \"69387\", \"city\": \"Lyon\", \"district\": \"Lyon 7e Arrondissement\", \"context\": \"69, Rh\u00f4ne, Auvergne-Rh\u00f4ne-Alpes\", \"street\": \"Rue Jangot\", \"distance\": 0}}], \"attribution\": \"BAN\", \"licence\": \"ETALAB-2.0\", \"limit\": 1}",
"headers": {
"Server": "nginx/1.9.3",
"Date": "Thu, 14 Mar 2019 10:46:45 GMT",
"Content-type":"application/json; charset=utf-8",
"Vary":"Accept-Encoding",
"X-cache-status":"MISS",
"Access-control-allow-origin":"*",
"Access-control-allow-headers":"X-Requested-With,Content-Type",
"Content-encoding":"gzip"
},
"status_code": 200,
"type": "ok"
}
}
]