The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. 🇹🇼 Taiwan
Public

11
0
11
0
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Cities

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": "04",
          "cityId": 1668341,
          "country": "Taiwan",
          "countryCode": "TW",
          "createdAt": "2019-12-14T01:42:31.383Z",
          "featureCode": "PPLC",
          "id": "EXdytQJEYX",
          "location": {
            "latitude": 25.04776,
            "longitude": 121.53185
          },
          "muni": null,
          "muniSub": null,
          "name": "Taipei",
          "population": 7871900,
          "updatedAt": "2019-12-14T01:42:31.383Z"
        },
        {
          "ACL": null,
          "adminCode": "04",
          "cityId": 1668399,
          "country": "Taiwan",
          "countryCode": "TW",
          "createdAt": "2019-12-14T01:42:31.383Z",
          "featureCode": "PPLA2",
          "id": "FR6iHWpqHL",
          "location": {
            "latitude": 24.1469,
            "longitude": 120.6839
          },
          "muni": null,
          "muniSub": null,
          "name": "Taichung",
          "population": 1040725,
          "updatedAt": "2019-12-14T01:42:31.383Z"
        },
        {
          "ACL": null,
          "adminCode": "04",
          "cityId": 1668396,
          "country": "Taiwan",
          "countryCode": "TW",
          "createdAt": "2019-12-14T01:42:31.383Z",
          "featureCode": "PPLA2",
          "id": "nanS8eOr0F",
          "location": {
            "latitude": 24.25,
            "longitude": 120.71694
          },
          "muni": "B09",
          "muniSub": "66000090006",
          "name": "Fengyuan",
          "population": 0,
          "updatedAt": "2019-12-14T01:42:31.383Z"
        }
      ]
    }
  }
}