« Sunset and sunrise times API » : différence entre les versions
Aller à la navigation
Aller à la recherche
(Page créée avec « Une API qui va nous donner les éphéméides du soleil et de la lune.<syntaxhighlight lang="bash"> curl "https://api.sunrise-sunset.org/json?lat=36.7201600&lng=-4.4203400" {"results":{"sunrise":"6:36:49 AM","sunset":"5:26:00 PM","solar_noon":"12:01:24 PM","day_length":"10:49:11","civil_twilight_begin":"6:11:36 AM","civil_twilight_end":"5:51:13 PM","nautical_twilight_begin":"5:41:10 AM","nautical_twilight_end":"6:21:38 PM","astronomical_twilight_begin":"5:11:04 AM... ») |
mAucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
Une API qui va nous donner les éphéméides du soleil et de la lune.<syntaxhighlight lang="bash"> | Une API qui va nous donner les éphéméides du soleil et de la lune.<syntaxhighlight lang="bash"> | ||
curl "https://api.sunrise-sunset.org/json?lat=36.7201600&lng=-4.4203400" | curl "https://api.sunrise-sunset.org/json?lat=36.7201600&lng=-4.4203400" | ||
{"results":{"sunrise":"6:36:49 AM","sunset":"5:26:00 PM","solar_noon":"12:01:24 PM","day_length":"10:49:11","civil_twilight_begin":"6:11:36 AM","civil_twilight_end":"5:51:13 PM","nautical_twilight_begin":"5:41:10 AM","nautical_twilight_end":"6:21:38 PM","astronomical_twilight_begin":"5:11:04 AM","astronomical_twilight_end":"6:51:44 PM"},"status":"OK"} | {"results":{"sunrise":"6:36:49 AM","sunset":"5:26:00 PM","solar_noon":"12:01:24 PM","day_length":"10:49:11","civil_twilight_begin":"6:11:36 AM","civil_twilight_end":"5:51:13 PM","nautical_twilight_begin":"5:41:10 AM","nautical_twilight_end":"6:21:38 PM","astronomical_twilight_begin":"5:11:04 AM","astronomical_twilight_end":"6:51:44 PM"},"status":"OK"} | ||
</syntaxhighlight> | </syntaxhighlight>A REDIGER |
Version actuelle datée du 29 octobre 2023 à 19:59
Une API qui va nous donner les éphéméides du soleil et de la lune.
curl "https://api.sunrise-sunset.org/json?lat=36.7201600&lng=-4.4203400"
{"results":{"sunrise":"6:36:49 AM","sunset":"5:26:00 PM","solar_noon":"12:01:24 PM","day_length":"10:49:11","civil_twilight_begin":"6:11:36 AM","civil_twilight_end":"5:51:13 PM","nautical_twilight_begin":"5:41:10 AM","nautical_twilight_end":"6:21:38 PM","astronomical_twilight_begin":"5:11:04 AM","astronomical_twilight_end":"6:51:44 PM"},"status":"OK"}
A REDIGER