要为特定城市的当前天气调用 API,如何从 "city.list.json.gz" 中查找城市 ID?

In Order to Call an API for Current Weather for a Particular City, How Do I Find a City ID from "city.list.json.gz"?

我正在使用 openweathermap.org to enable me to create the API call to get my weather app to work, but I'm having total trouble trying to find the ID for my city from the information giving at openweathermap.org, which says, "Call API by city ID instead of city name, city coordinates or zip code. In this case you get precise respond exactly for your city. The cities' IDs can be found in the following file: Cities' IDs list.

单击 link 会自动下载名为 city.list.json.gz 的文件。当我用我的 Sublime3 文本编辑器打开这个文件时,我得到的是一个巨大的数字列列表,如下所示:

1f8b 0808 30a1 f458 0003 6369 7479 2e6c
6973 742e 6a73 6f6e 00ac bd4b 6f24 5996
1eb8 9f5f e1e8 8d5a 40d3 e7be 1fb3 2319
afcc 78b1 82cc 0865 ceea 92b4 a05b d069
c632 7763 1443 10d0 d5c0 60a0 4563 b66a
6dba f500 a673 0a02 4668 4168 48da 3173
377f a2fb 97cc 39e6 9111 5976 0eef b536
2a0a 1999 e589 48ff 78ef b9e7 7dbe f3bf
ff2f 8bc5 bf84 bf16 8b3f a9cf ffe4 7f5b
78e1 8313 7fb6 fba4 4957 157c f627 cffa
..........................................

我在哪里可以找到我的城市 ID?还是我的编辑器不是打开此文件的合适软件?

请尝试使用其他程序打开它。我用 Windows10 Code Writer 应用程序打开了这个文件,看到了 json 数据,例如

{
    "id": 707860,
    "name": "Hurzuf",
    "country": "UA",
    "coord": {
      "lon": 34.283333,
      "lat": 44.549999
    }
  },

等等