The data exporting API allows you to extend what we're doing and build your own tools such as the Heatmap Emitter for Unity3d by Chris Ellis, or export your data to your own systems for integration with your internal tools and dashboards. If you make a cool tool let us know so we can tell our users about it!
If you're updating that information now it might take a minute or two for the API servers to recognize your changes.
The data resides on the url:
https://data.playtomic.com/v1/authstring/
This domain is equipped with an allow-all crossdomain.xml for access via Flash and Unity3d, and Access-Control-* headers to allow JavaScript cross-origin requests.
Your auth code varies for each game. You can access it via the dashboard in your account settings or create it yourself using:
Md5(userid + "/" + secret token + "/" + gameid + "/" + gameapikey)
https://data.playtomic.com/v1/authstring/general
Optionally include these parameters in the url (/general?aaaa=bbbbbb&ccccc=ddddddd)
| Parameter | Values |
|---|---|
| mode | total (default), today, yesterday, mm/dd/yyyy, mm/dd/yyyy-mm/dd/yyyy |
| output | xml (default), json |
Check these URLs to see the returned data formats:
https://data.playtomic.com/v1/authstring/custommetrics
If you include no mode parameter it will return a list of your metrics, or include these parameters in the url (/general?aaaa=bbbbbb&ccccc=ddddddd)
| Parameter | Values |
|---|---|
| mode | total (default), today, yesterday, mm/dd/yyyy, mm/dd/yyyy-mm/dd/yyyy |
| metric | the name of one of your metrics, url encoded |
| group | the name of one of your groups, url encoded, to return all metrics in the group |
| output | xml (default), json |
Check these URLs to see the returned data formats:
https://data.playtomic.com/v1/authstring/heatmap
If you include no mode parameter it will return a list of your metrics, or include these parameters in the url (/general?aaaa=bbbbbb&ccccc=ddddddd)
| Parameter | Values |
|---|---|
| mode | total (default), today, yesterday, mm/dd/yyyy, mm/dd/yyyy-mm/dd/yyyy |
| metric | the name of one of your metrics, url encoded |
| output | png (default), xml, json, csv (used for heatmap emitter) |
Check these URLs to see the returned data formats:
https://data.playtomic.com/v1/authstring/levelmetrics https://data.playtomic.com/v1/authstring/levelrangedmetrics https://data.playtomic.com/v1/authstring/levelaveragemetrics https://data.playtomic.com/v1/authstring/levelcountermetrics
You can access a list of your metrics by going to the levelmetrics page. For data use each type's page and the following parameters.
| Parameter | Values |
|---|---|
| mode | total (default), today, yesterday, mm/dd/yyyy, mm/dd/yyyy-mm/dd/yyyy |
| metric | the name of one of your metrics, url encoded |
| level | the name or number of one of your levels, url encoded |
| output | xml (default), json |
Check these URLs to see the returned data formats:
https://data.playtomic.com/v1/authstring/countries https://data.playtomic.com/v1/authstring.sources
If you include no mode parameter it will return a list of your countries or source, or include these parameters in the url (/general?aaaa=bbbbbb&ccccc=ddddddd)
| Parameter | Values |
|---|---|
| mode | total (default), today, yesterday, mm/dd/yyyy, mm/dd/yyyy-mm/dd/yyyy |
| country | the 2 digit country code of a country (eg AU for Australia) |
| source | The domain part of a url, eg armorgames.com (not http://www.armorgames.com/). |
| output | xml (default), json |
Friends, Playtomic has come to an end. Part of this service will live on at Playtomic.org as a self-hosted, open source platform I am continuing to develop in my spare time. The rest is unfortunately finished.
Enter your email and we'll send you your views data.