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": "06", "cityId": 3039163, "country": "Andorra", "countryCode": "AD", "createdAt": "2019-12-12T18:45:15.553Z", "featureCode": "PPLA", "id": "5LchfEIyVx", "location": { "latitude": 42.46372, "longitude": 1.49129 }, "name": "Sant JuliΓ de LΓ²ria", "population": 8022, "updatedAt": "2019-12-12T18:45:15.553Z" }, { "ACL": null, "adminCode": "04", "cityId": 3040132, "country": "Andorra", "countryCode": "AD", "createdAt": "2019-12-12T18:45:15.553Z", "featureCode": "PPLA", "id": "iyEf2JH2Sj", "location": { "latitude": 42.54499, "longitude": 1.51483 }, "name": "la Massana", "population": 7211, "updatedAt": "2019-12-12T18:45:15.553Z" }, { "ACL": null, "adminCode": "05", "cityId": 3039678, "country": "Andorra", "countryCode": "AD", "createdAt": "2019-12-12T18:45:15.553Z", "featureCode": "PPLA", "id": "IOc7e32V9l", "location": { "latitude": 42.55623, "longitude": 1.53319 }, "name": "Ordino", "population": 3066, "updatedAt": "2019-12-12T18:45:15.553Z" } ] } } }