« Catégorie:Api » : différence entre les versions
Apparence
Aucun résumé des modifications Balise : Révoqué |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 9 : | Ligne 9 : | ||
<syntaxhighlight lang="bash" copy> | <syntaxhighlight lang="bash" copy> | ||
curl "https://api.exchangerate-api.com/v4/latest/EUR" | jq '.rates.USD' | 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?latitude=48.85&longitude=2.35¤t_weather=true" | jq '.current_weather' | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[category:Dev]] | [[category:Dev]] | ||
Version du 29 mai 2025 à 01:00
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¤t_weather=true" | jq '.current_weather'
Sous-catégories
Cette catégorie comprend 3 sous-catégories, dont les 3 ci-dessous.
Pages dans la catégorie « Api »
Cette catégorie comprend 12 pages, dont les 12 ci-dessous.