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
query allCities { cities (skip: 0, limit: 3) { results { ACL adminCode cityId country countryCode createdAt featureCode id location { latitude longitude } name population updatedAt } } }
{ "data": { "cities": { "results": [ { "ACL": null, "adminCode": "05", "cityId": 347497, "country": "Egypt", "countryCode": "EG", "createdAt": "2019-12-12T20:10:44.180Z", "featureCode": "PPLA", "id": "5bjJaUrmPv", "location": { "latitude": 30.78847, "longitude": 31.00192 }, "name": "Tanda", "population": 404901, "updatedAt": "2019-12-12T20:10:44.180Z" }, { "ACL": null, "adminCode": "09", "cityId": 347612, "country": "Egypt", "countryCode": "EG", "createdAt": "2019-12-12T20:10:44.180Z", "featureCode": "PPL", "id": "ver4Vxr1Lk", "location": { "latitude": 30.68025, "longitude": 30.94292 }, "name": "Talā", "population": 51498, "updatedAt": "2019-12-12T20:10:44.180Z" }, { "ACL": null, "adminCode": "10", "cityId": 349717, "country": "Egypt", "countryCode": "EG", "createdAt": "2019-12-12T20:10:44.181Z", "featureCode": "PPL", "id": "mIKGV9NPU6", "location": { "latitude": 28.31214, "longitude": 30.71007 }, "name": "Samālūţ", "population": 90465, "updatedAt": "2019-12-12T20:10:44.181Z" } ] } } }