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": "13", "cityId": 148842, "country": "Tanzania", "countryCode": "TZ", "createdAt": "2019-12-14T01:47:46.063Z", "featureCode": "PPLA", "id": "xOefWOFSmx", "location": { "latitude": -5.05589, "longitude": 39.72938 }, "muni": "5401162", "name": "Wete", "population": 26450, "updatedAt": "2019-12-14T01:47:46.063Z" }, { "ACL": null, "adminCode": "28", "cityId": 149129, "country": "Tanzania", "countryCode": "TZ", "createdAt": "2019-12-14T01:47:46.063Z", "featureCode": "PPL", "id": "w3pURcjPh7", "location": { "latitude": -3.49194, "longitude": 31.96389 }, "muni": "2504091", "name": "Ushirombo", "population": 95052, "updatedAt": "2019-12-14T01:47:46.063Z" }, { "ACL": null, "adminCode": "20", "cityId": 149039, "country": "Tanzania", "countryCode": "TZ", "createdAt": "2019-12-14T01:47:46.063Z", "featureCode": "PPL", "id": "437mR3QbP4", "location": { "latitude": -5.4, "longitude": 39.68333 }, "muni": "5502261", "name": "Uwelini", "population": 2472, "updatedAt": "2019-12-14T01:47:46.063Z" } ] } } }