projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b60ab49
)
Added simple example.
author
Josh Roesslein
<jroesslein@gmail.com>
Mon, 6 Jul 2009 04:14:15 +0000
(23:14 -0500)
committer
Josh Roesslein
<jroesslein@gmail.com>
Mon, 6 Jul 2009 04:14:15 +0000
(23:14 -0500)
example.py
[new file with mode: 0644]
patch
|
blob
diff --git a/example.py
b/example.py
new file mode 100644
(file)
index 0000000..
2d5adfc
--- /dev/null
+++ b/
example.py
@@ -0,0
+1,11
@@
+from api import API
+
+# Create API object
+api = API()
+
+# Fetch public timeline
+p_timeline = api.public_timeline()
+
+# Print texts of statuses
+for status in p_timeline:
+ print status.text