← Geo & Wetter

Verfügbare Städte

GET /weather/cities

Erhalten Sie die vollständige list of 30 major cities that support city-name-based weather lookups. Liefert city names und their coordinates. Verwenden Sie dies to populate city dropdown menus oder validate user input before calling the weather endpoints. Umfasst global capitals und major urban centers across all continents.

Beispielanfragen

Grundlegende Verwendung
curl https://nordapi.ee/api/v1/weather/cities

Live-Antwort

{
  "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
}