Python Twitter stats

I need to get the number of people who followed a specific account by month, as well as the number of people who canceled one account by month, the total number of tweets by month and the total number of times, the account on Twitter was changed by month.

I use python for this and installed a python twitter, but since the documentation is pretty scarce, I have to make a lot of guesswork. I was wondering if anyone could point me in the right direction? I was able to get authentication using OAuth, so this is not a problem, I just need help getting those numbers.

Thanks to everyone.

+3
source share
2 answers

, , twittercounter.

, API REST twitter, oauth2 python. Twitter python. : http://parand.com/say/index.php/2010/06/13/using-python-oauth2-to-access-oauth-protected-resources/

+1

API Twitter. Twittercounter.com API ( API ).

API - , 100 , . 14 . :

http://api.twittercounter.com?twitter_id=813286&apikey=[api_key]

JSON :

{"version":"1.1","username":"BarackObama","url":"http:\/\/www.barackobama.com","avatar":"http:\/\/a1.twimg.com\/profile_images\/784227851\/BarackObama_twitter_photo_normal.jpg","followers_current":7420937,"date_updated":"2011-04-16","follow_days":"563","started_followers":"2264457","growth_since":5156480,"average_growth":"9166","tomorrow":"7430103","next_month":"7695917","followers_yesterday":7414507,"rank":"3","followers_2w_ago":7243541,"growth_since_2w":177396,"average_growth_2w":"12671","tomorrow_2w":"7433608","next_month_2w":"7801067","followersperdate":{"date2011-04-16":7420937,"date2011-04-15":7414507,"date2011-04-14":7400522,"date2011-04-13":7385729,"date2011-04-12":7370229,"date2011-04-11":7366548,"date2011-04-10":7349078,"date2011-04-09":7341737,"date2011-04-08":7325918,"date2011-04-07":7309609,"date2011-04-06":7306325,"date2011-04-05":7283591,"date2011-04-04":7269377,"date2011-04-03":7257596},"last_update":1302981230}

Twittercounter, Favstar ( API .)

+1

All Articles