Trying to get rate limit status



I’m trying to get the rate limit status of my api key to be able to show it directly on my admin panel, I’m using something like :

	$rate = $connection->get('application/rate_limit_status');

But I have no idea how to get for example only the ‘/statuses/home_timeline’ status. I’ve tried several things like $rate->resources->statuses->’/statuses/home_timeline’ or $rate->resources->statuses[’/statuses/home_timeline’] but nothing seems to work.

Can someone maybe get me on the right way ?

Note : i’m using abraham’s twitteroauth.


You would better ask this in


Yeah, obviously it’s not directly REST API related, I will ask somewhere else. Thanks.