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 | abdullah (abdullah_ui) |
Race Number | 1 |
Date | Sun, 4 Jun 2023 09:20:06 +0000 |
Universe | code |
Speed | 74 WPM Try to beat? |
Accuracy | 95.9% |
Rank | 1st place (out of 2) |
Opponents | am412008 (2nd 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)
|