Bash api

Version datée du 29 mai 2025 à 01:02 par Geo (discussion | contributions) (Page créée avec « ==== openstreetmap ==== Recherche localisation <syntaxhighlight lang="bash" copy> curl "https://nominatim.openstreetmap.org/search?q=Eiffel+Tower&format=json" | jq </syntaxhighlight> ==== Devises ==== Exchange Rates <syntaxhighlight lang="bash" copy> curl "https://api.exchangerate-api.com/v4/latest/EUR" | jq '.rates.USD' </syntaxhighlight> ==== Météo ==== open-meteo.com <syntaxhighlight lang="bash" copy> curl -s "https://api.open-meteo.com/v1/forecast?latitud... »)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

openstreetmap

Recherche localisation

curl "https://nominatim.openstreetmap.org/search?q=Eiffel+Tower&format=json" | jq

Devises

Exchange Rates

curl "https://api.exchangerate-api.com/v4/latest/EUR" | jq '.rates.USD'

Météo

open-meteo.com

curl -s "https://api.open-meteo.com/v1/forecast?latitude=48.85&longitude=2.35&current_weather=true" | jq '.current_weather'