GET /weather/cities
Fáðu the full list of 30 major cities that support city-name-based weather lookups. Skilar city names and their hnit. Use this to populate city dropdown menus or validate user input before calling the weather endapunktar. Nær yfir global capitals and major urban centers í allar continents.
curl https://nordapi.ee/api/v1/weather/cities
{
"count": 30,
"data": [
"amsterdam",
"berlin",
"budapest",
"cape_town",
"copenhagen",
"dubai",
"helsinki",
"hong_kong",
"lisbon",
"london",
"los_angeles",
"madrid",
"mexico_city",
"mumbai",
"new_york",
"oslo",
"paris",
"prague",
"reykjavik",
"rome",
"sao_paulo",
"seoul",
"singapore",
"stockholm",
"sydney",
"tallinn",
"tokyo",
"toronto",
"warsaw",
"zurich"
],
"success": true
}