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 | Anhdung147 (nhoksocqt1) |
Race Number | 2 |
Date | Sat, 2 Mar 2024 09:56:21 +0000 |
Universe | code |
Speed | 45 WPM Try to beat? |
Accuracy | 92.3% |
Rank | 4th place (out of 3) |
Opponents | billyisme (3rd place) smuggingspon (5th place) steveonalex (2nd place) thieunguyenhuy (1st 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)
|