/o?method=cities

Retrieve city locations of the app

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Retrieves the raw city location data of the app, the object is divided by time metrics, like year, month, date and can be processed by Countly JavaScript libraries
Note: that you must enable collecting city data, by setting city_data to true in /api/config.js
n - new cities
t - total cities
u - unique cities

Query Params
string

API_KEY of user, with permission to access this app

string

ID of the app for which to query

string
Defaults to month

For which time period to provide data, possible values (month, 60days, 30days, 7days, yesterday, hour or [startMiliseconds, endMiliseconds] as [1417730400000,1420149600000])

string

(optional) name of callback function for JSONP output

Response

Language
LoadingLoading…
Response
Choose an example:
application/json