Record your races with a typeracer account:
Create Your Account- Save your race history and scores.
- Customize your profile and racecar.
- It’s free, why not?
Race Result Details |
Racer | its_abhi (abhi_guy_01) |
Race Number | 7 |
Date | Fri, 8 Mar 2024 13:02:41 +0000 |
Universe | code |
Speed | 33 WPM Try to beat? |
Accuracy | 92.8% |
Rank | 5th place (out of 7) |
Opponents | aman_sharma193 (2nd place) rulebreakers (4th place) shekhar_prajapati (6th place) |
Text typed:
import urllib2
import json
screen_name = "wordpress"
url = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name=" + screen_name
data = json.load(urllib2.urlopen(url))
print len(data), "tweets"
for tweet in data:
print tweet['text']
— Tweet Search using Python
(other)
by www.pythonforbeginners.com
(see stats)
|