Android Usage Stats

Is there a plugin that interfaces with this Usage Stats api? If not, is there an easy way I could make one?

https://developer.android.com/reference/android/app/usage/UsageStats