{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/stats/total_installs","auth":"required","settings":"","examples":{"codes":[{"language":"curl","code":"# Default parameters (Last Month)\ncurl -XGET -i -u :$API_KEY -H 'Accept: application/json' https://api.carnivalmobile.com/v6/stats/total_installs\n\n# With Parameters for To and From\ncurl -XGET -i -u :$API_KEY -H 'Accept: application/json' https://api.carnivalmobile.com/v6/stats/total_installs?from=2015-07-25&to=2015-07-28","name":""}]},"method":"get","params":[{"name":"from","type":"datetime","default":"1 month ago","desc":"Beginning date for range","required":false,"in":"query","ref":"","_id":"55ed0df94fba582b0036a18c"},{"name":"to","type":"string","default":"Now","desc":"End date for range","required":false,"in":"query","ref":"","_id":"55ed0df94fba582b0036a18b"}],"results":{"codes":[{"name":"","code":"{\n  \"total_installs\": 593\n}","language":"json","status":200},{"code":"{\n  \"error\":\"unauthorized\"\n}","language":"json","status":401,"name":""},{"status":403,"code":"{\n  \"error\":\"your api client does not have the correct roles\"\n}","language":"json"}]},"apiSetting":null},"next":{"description":"","pages":[]},"title":"Stats / Total Installs","type":"endpoint","slug":"total-installs","excerpt":"Totals installs are returned as a count","body":"## Date Format\n\nThis API endpoint uses the [ISO 8601 DateTime format](https://en.wikipedia.org/wiki/ISO_8601). \n\nExamples:\n\n * `2015-07-25` (Just date)\n * `2015-07-25T00:00:00.000+00:00` (Date, Time, Offset)\n\n### Caveats\n\nThe range granularity for this API is days. We round down `from` to the beginning of day (00:00:00) and up `to` to the end of day (23:59:59).\n\nNote: When running the curl command with parameters, you should wrap the URL in double quotation mark.","updates":[],"order":16,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e6156bf5e4a51006dcd813b","parentDoc":null,"user":"55d2bd8e2463351700f67dd7","__v":7,"category":{"sync":{"isSync":false,"url":""},"pages":["5e6156bf5e4a51006dcd8138","55ed079b0d968e2100de8339","5e6156bf5e4a51006dcd8139","55ed0bb078319821005005cf","5e6156bf5e4a51006dcd813a","5e6156bf5e4a51006dcd813b","5e6156bf5e4a51006dcd813c","5e6156bf5e4a51006dcd813d","5e6156bf5e4a51006dcd813e","5e6156bf5e4a51006dcd813f","5e6156bf5e4a51006dcd8140","5e6156bf5e4a51006dcd8141","5e6156bf5e4a51006dcd8142","5e6156bf5e4a51006dcd8143","5e6156bf5e4a51006dcd8144","5e6156bf5e4a51006dcd8145","5b720760c44b7600034b79ce","5e6156bf5e4a51006dcd814d","5e6156bf5e4a51006dcd814e","5e6156bf5e4a51006dcd8156"],"title":"REST API","slug":"rest-api","order":5,"from_sync":false,"reference":true,"_id":"5e6156bf5e4a51006dcd8122","__v":20,"createdAt":"2015-09-02T04:30:21.948Z","project":"55e67aaa9cc7c62b00c4a1ea","version":"5e6156bf5e4a51006dcd818c"},"githubsync":"","version":{"version":"1.5","version_clean":"1.5.0","codename":"ST Rebrand","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5e6156bf5e4a51006dcd8120","5e6156bf5e4a51006dcd8121","5e6156bf5e4a51006dcd8122","5e6156bf5e4a51006dcd8123","5e6156bf5e4a51006dcd8124","561c61b4ad272c0d00a892df","586c014c0abf1d0f000d04d4","58991d2ad207df0f0002186b","5e6156bf5e4a51006dcd8125","5e6156bf5e4a51006dcd8126","5af0fe494ca2730003cbc98a","5af0fe55ec80af0003804ca2","5e69868cbd5dcb006b35867b","5e6986ca2c6652006791b6e8"],"_id":"5e6156bf5e4a51006dcd818c","project":"55e67aaa9cc7c62b00c4a1ea","__v":2,"forked_from":"5b720760c44b7600034b7a08","createdAt":"2015-09-02T04:27:23.612Z","releaseDate":"2015-09-02T04:27:23.612Z"},"editedParams":true,"editedParams2":true,"createdAt":"2015-09-07T04:09:48.925Z","project":"55e67aaa9cc7c62b00c4a1ea"}

getStats / Total Installs

Totals installs are returned as a count

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

from:
datetime1 month ago
Beginning date for range
to:
stringNow
End date for range

Examples


Result Format


Documentation

## Date Format This API endpoint uses the [ISO 8601 DateTime format](https://en.wikipedia.org/wiki/ISO_8601). Examples: * `2015-07-25` (Just date) * `2015-07-25T00:00:00.000+00:00` (Date, Time, Offset) ### Caveats The range granularity for this API is days. We round down `from` to the beginning of day (00:00:00) and up `to` to the end of day (23:59:59). Note: When running the curl command with parameters, you should wrap the URL in double quotation mark.

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}