TOKI

ENDPOINTS

Apps total
/apps/total
Apps top 5
/apps/top
Apps top x
/apps/top/42
Apps on day x (YEAR-MM-DD)
/apps/day/2014-05-27
Apps before day x
/apps/before/2014-05-27
Apps since day x
/apps/since/2014-05-27
Apps between day 1 and day 2
/apps/range/2014-05-27/2014-05-30
Complete log for app x
/find/safari/log
Complete log for bundle x
/bundle/com.apple.Safari/log
Total for app x (ex: Safari)
/find/safari/total
Total for bundle x (ex: Safari)
/bundle/com.apple.Safari/total
Total for app x before day x
/find/safari/before/2014-05-27
Total for bundle x before day x
/bundle/com.apple.Safari/before/2014-05-27
Total for app x since day x
/find/safari/since/2014-05-27
Total for bundle x since day x
/bundle/com.apple.Safari/since/2014-05-27
Total for app x between day 1 and day 2
/find/safari/range/2014-05-27/2014-05-30
Total for bundle x between day 1 and day 2
/bundle/com.apple.Safari/range/2014-05-27/2014-05-30
Total for app x before and after day x
/find/safari/split/2014-05-27
Total for bundle x before and after day x
/bundle/com.apple.Safari/split/2014-05-27
JSON API

Add "/api" in front of the urls to get the JSON response. Works with all endpoints.

/api/apps/total