This GraphQL query fetches All Cities
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
query allCities { cities (skip: 0, limit: 3) { results { ACL adminCode cityId country countryCode createdAt featureCode id location { latitude longitude } muni name population updatedAt } } }
{ "data": { "cities": { "results": [ { "ACL": null, "adminCode": "01", "cityId": 3187609, "country": "Bosnia and Herzegovina", "countryCode": "BA", "createdAt": "2019-12-12T18:52:52.750Z", "featureCode": "PPLA3", "id": "DJec6S43dv", "location": { "latitude": 43.98889, "longitude": 18.17806 }, "muni": null, "name": "Visoko", "population": 17890, "updatedAt": "2019-12-12T18:52:52.750Z" }, { "ACL": null, "adminCode": "01", "cityId": 3187799, "country": "Bosnia and Herzegovina", "countryCode": "BA", "createdAt": "2019-12-12T18:52:52.750Z", "featureCode": "PPL", "id": "IWIDwqnFGN", "location": { "latitude": 43.77139, "longitude": 17.02833 }, "muni": null, "name": "Vidoลกi", "population": 3905, "updatedAt": "2019-12-12T18:52:52.750Z" }, { "ACL": null, "adminCode": "01", "cityId": 3186573, "country": "Bosnia and Herzegovina", "countryCode": "BA", "createdAt": "2019-12-12T18:52:52.749Z", "featureCode": "PPLA2", "id": "yGPoBMhcLO", "location": { "latitude": 44.20169, "longitude": 17.90397 }, "muni": null, "name": "Zenica", "population": 164423, "updatedAt": "2019-12-12T18:52:52.749Z" } ] } } }