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

31 lines
2 KiB
JSON

[
{
"request": {
"body": "",
"headers": {
"Accept": "*/*",
"Accept-Encoding":"deflate, gzip"
},
"method": "get",
"options": [],
"request_body": "",
"url": "https://api-adresse.data.gouv.fr/search/?q=10%20Rue%20Jangot"
},
"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.8677708846033279, \"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\"}}, {\"type\": \"Feature\", \"geometry\": {\"type\": \"Point\", \"coordinates\": [2.440319, 50.371266]}, \"properties\": {\"label\": \"Rue Jangon 62127 Bailleul-aux-Cornailles\", \"score\": 0.5269641371131077, \"id\": \"62070_0100\", \"type\": \"street\", \"x\": 660129.18, \"y\": 7030540.46, \"importance\": 0.25814396978264664, \"name\": \"Rue Jangon\", \"postcode\": \"62127\", \"citycode\": \"62070\", \"city\": \"Bailleul-aux-Cornailles\", \"context\": \"62, Pas-de-Calais, Hauts-de-France\"}}], \"attribution\": \"BAN\", \"licence\": \"ETALAB-2.0\", \"query\": \"10 Rue Jangot\", \"limit\": 5}",
"headers": {
"Server":"nginx/1.10.3",
"Date":"Thu, 25 Jun 2020 11:23:54 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"
}
}
]