Découvrir le service
curl --request GET \
--url https://geo.fluximmo.io/getCapabilitiesimport requests
url = "https://geo.fluximmo.io/getCapabilities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://geo.fluximmo.io/getCapabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://geo.fluximmo.io/getCapabilities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://geo.fluximmo.io/getCapabilities"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://geo.fluximmo.io/getCapabilities")
.asString();require 'uri'
require 'net/http'
url = URI("https://geo.fluximmo.io/getCapabilities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"info": {
"name": "<string>",
"url": "<string>",
"description": "<string>"
},
"api": {
"name": "rest",
"version": "0.0.0"
},
"operations": [
{
"id": "<string>",
"description": "<string>",
"url": "<string>",
"methods": [],
"parameters": [
{
"name": "<string>",
"in": "<string>",
"description": "<string>",
"required": true,
"default": "<unknown>",
"schema": {
"type": "<string>",
"example": "<string>"
},
"example": "<string>"
}
]
}
],
"indexes": [
{
"id": "<string>",
"description": "<string>",
"fields": [
{
"name": "<string>",
"description": "<string>",
"type": "<string>",
"queryable": true,
"filter": true,
"values": [
"<unknown>"
]
}
]
}
]
}Découvrir le service de géocodage
Métadonnées et capacités du service public BAN/BANO opéré par Fluximmo.
Découvrir le service
curl --request GET \
--url https://geo.fluximmo.io/getCapabilitiesimport requests
url = "https://geo.fluximmo.io/getCapabilities"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://geo.fluximmo.io/getCapabilities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://geo.fluximmo.io/getCapabilities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://geo.fluximmo.io/getCapabilities"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://geo.fluximmo.io/getCapabilities")
.asString();require 'uri'
require 'net/http'
url = URI("https://geo.fluximmo.io/getCapabilities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"info": {
"name": "<string>",
"url": "<string>",
"description": "<string>"
},
"api": {
"name": "rest",
"version": "0.0.0"
},
"operations": [
{
"id": "<string>",
"description": "<string>",
"url": "<string>",
"methods": [],
"parameters": [
{
"name": "<string>",
"in": "<string>",
"description": "<string>",
"required": true,
"default": "<unknown>",
"schema": {
"type": "<string>",
"example": "<string>"
},
"example": "<string>"
}
]
}
],
"indexes": [
{
"id": "<string>",
"description": "<string>",
"fields": [
{
"name": "<string>",
"description": "<string>",
"type": "<string>",
"queryable": true,
"filter": true,
"values": [
"<unknown>"
]
}
]
}
]
}À quoi ça sert
GET /getCapabilities est l’endpoint de discovery du service de géocodage : il retourne les métadonnées du service (versions disponibles, indices interrogeables, opérations supportées, limites). C’est utile pour :
- Vérifier qu’une version d’index donnée est en ligne avant de lancer un batch.
- Construire des outils internes qui s’adaptent dynamiquement aux capacités du service.
- Diagnostic et monitoring.
api-adresse.data.gouv.fr) opérée par Fluximmo.
Exemple
curl "https://geo.fluximmo.io/getCapabilities"
import requests
print(requests.get("https://geo.fluximmo.io/getCapabilities", timeout=10).json())
const resp = await fetch("https://geo.fluximmo.io/getCapabilities");
console.log(await resp.json());
Liens utiles
Was this page helpful?
⌘I

