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": "51", "cityId": 363243, "country": "Albania", "countryCode": "AL", "createdAt": "2019-12-12T18:46:51.089Z", "featureCode": "PPLA2", "id": "Qd1CuwsU8z", "location": { "latitude": 39.87556, "longitude": 20.00528 }, "muni": null, "name": "Sarandë", "population": 15147, "updatedAt": "2019-12-12T18:46:51.089Z" }, { "ACL": null, "adminCode": "51", "cityId": 363288, "country": "Albania", "countryCode": "AL", "createdAt": "2019-12-12T18:46:51.089Z", "featureCode": "PPLA3", "id": "5hCttq3r4j", "location": { "latitude": 39.73278, "longitude": 20.19528 }, "muni": null, "name": "Markat", "population": 0, "updatedAt": "2019-12-12T18:46:51.089Z" }, { "ACL": null, "adminCode": "51", "cityId": 363380, "country": "Albania", "countryCode": "AL", "createdAt": "2019-12-12T18:46:51.089Z", "featureCode": "PPLA3", "id": "7wm7BPaTxm", "location": { "latitude": 39.83611, "longitude": 20.16861 }, "muni": null, "name": "Dhivër", "population": 0, "updatedAt": "2019-12-12T18:46:51.089Z" } ] } } }