donald
donald

Reputation: 23747

Rails 3: How To Keep Track of My API Usage?

My app as an API which I have no control of. I don't know which users use it, how many times, etc.

What's the best way of doing an analytics system to keep track of my API usage? Does it need to be a Rack app to filter traffic or there's a better solution for it?

Thanks!

Upvotes: 2

Views: 583

Answers (1)

Surya
Surya

Reputation: 16012

You can create an interface by your self. All you have to do is, trace users by their request to your app and can track records by identifying them by their api key. So a user request to your api will be their usage and so on.

Upvotes: 1

Related Questions