Stats

Get Playtime Stats

GET
Returns the playtime stats

Query parameters

startDatestringOptional
Earliest an included user was created
endDatestringOptional
Latest an included user was created
countrystringOptional
Filter by country string

Response

This endpoint returns an object
playTime
doubleOptional
Total play time in seconds
gamesPlayed
doubleOptional
Number of levels played
GET
$curl -G https://codecombat.com/api/playtime-stats \
> -u "<username>:<password>" \
> -d startDate=string \
> -d endDate=string
Response
1{
2 "playTime": 1,
3 "gamesPlayed": 1
4}