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": "04", "cityId": 3576050, "country": "Antigua and Barbuda", "countryCode": "AG", "createdAt": "2019-12-12T18:46:20.965Z", "featureCode": "PPL", "id": "yxJI4v0z6L", "location": { "latitude": 17.08333, "longitude": -61.81667 }, "name": "Potters Village", "population": 1433, "updatedAt": "2019-12-12T18:46:20.965Z" }, { "ACL": null, "adminCode": "03", "cityId": 3576057, "country": "Antigua and Barbuda", "countryCode": "AG", "createdAt": "2019-12-12T18:46:20.965Z", "featureCode": "PPLA", "id": "PZLhJk2vWu", "location": { "latitude": 17.11667, "longitude": -61.8 }, "name": "Piggotts", "population": 1878, "updatedAt": "2019-12-12T18:46:20.965Z" }, { "ACL": null, "adminCode": "07", "cityId": 3576074, "country": "Antigua and Barbuda", "countryCode": "AG", "createdAt": "2019-12-12T18:46:20.965Z", "featureCode": "PPLA", "id": "ZbRp3gJ5C8", "location": { "latitude": 17.09682, "longitude": -61.77046 }, "name": "Parham", "population": 969, "updatedAt": "2019-12-12T18:46:20.965Z" } ] } } }