![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 285 Pomógł: 18 Dołączył: 30.01.2014 Skąd: <?=$_GET['city']?> Ostrzeżenie: (0%) ![]() ![]() |
Szukałem w internecie jakiegoś dobrego API (darmowego) na pogodę,
znalazłem takie: api.openweathermap.org/data/2.5/find?units=metric&q=warszawa jednak mam problem: zna ktoś to API? Wiecie czy pogoda jest w C° czy innym, oraz czy predkosc jest w KM/G (km/h)? Drugi problem, nie znam sie na pogodzie ani tez nie jestem super mistrzem angielskiego, czy może ktoś opisać jaki index co konkretnie zwraca? każda informacja jest dla mnie cenna, a ja znam tylko najprostrze jak temp, temp (min,max), count (czy istnieje), country, name, speed, cod(status api), description i reszty nie wiem. daje tablice php z danymi:
-------------------- Jak poprawnie zadać pytanie || Generator #RRGGBB || Kurs: php, mysql <> html & css || Hosting || Validator: html, css || Narzędzia dla programistów |
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 6 806 Pomógł: 1828 Dołączył: 11.03.2014 Ostrzeżenie: (0%) ![]() ![]() |
http://openweathermap.org/weather-data#current
http://openweathermap.org/current#data (niestety za wiele tu nie jest wyjaśnione, ale w Twoim przypadku jeśli units=metric, to temperatura jest w Celsjuszach) -------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 12:09 |