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
22
query allCities { cities (skip: 0, limit: 3) { results { ACL adminCode cityId country countryCode createdAt featureCode id location { latitude longitude } muni muniSub name population updatedAt } } }
{ "data": { "cities": { "results": [ { "ACL": null, "adminCode": "57", "cityId": 2509368, "country": "Spain", "countryCode": "ES", "createdAt": "2019-12-12T20:15:43.740Z", "featureCode": "PPL", "id": "lDhq7oHAUI", "location": { "latitude": 38.33135, "longitude": -6.95533 }, "muni": "06159", "muniSub": null, "name": "Zahinos", "population": 2934, "updatedAt": "2019-12-12T20:15:43.740Z" }, { "ACL": null, "adminCode": "51", "cityId": 2509369, "country": "Spain", "countryCode": "ES", "createdAt": "2019-12-12T20:15:43.740Z", "featureCode": "PPL", "id": "W2zcg5FH9V", "location": { "latitude": 36.1369, "longitude": -5.84591 }, "muni": "11007", "muniSub": null, "name": "Zahara de los Atunes", "population": 1307, "updatedAt": "2019-12-12T20:15:43.740Z" }, { "ACL": null, "adminCode": "51", "cityId": 2509374, "country": "Spain", "countryCode": "ES", "createdAt": "2019-12-12T20:15:43.740Z", "featureCode": "PPLA3", "id": "GaMhIalujH", "location": { "latitude": 37.25561, "longitude": -4.16905 }, "muni": "18913", "muniSub": null, "name": "Zagra", "population": 1092, "updatedAt": "2019-12-12T20:15:43.740Z" } ] } } }