Syntax highlighted
This commit is contained in:
parent
d2d74b2b4d
commit
ae9652a091
1 changed files with 11 additions and 8 deletions
|
|
@ -35,20 +35,23 @@ Installing Twython is fairly easy. You can...
|
||||||
|
|
||||||
...or, you can clone the repo and install it the old fashioned way.
|
...or, you can clone the repo and install it the old fashioned way.
|
||||||
|
|
||||||
|
|
||||||
git clone git://github.com/ryanmcgrath/twython.git
|
git clone git://github.com/ryanmcgrath/twython.git
|
||||||
cd twython
|
cd twython
|
||||||
sudo python setup.py install
|
sudo python setup.py install
|
||||||
|
|
||||||
Example Use
|
Example Use
|
||||||
-----------------------------------------------------------------------------------------------------
|
-----------------------------------------------------------------------------------------------------
|
||||||
from twython import Twython
|
``` python
|
||||||
|
from twython import Twython
|
||||||
|
|
||||||
twitter = Twython()
|
twitter = Twython()
|
||||||
results = twitter.search(q = "bert")
|
results = twitter.search(q = "bert")
|
||||||
|
|
||||||
# More function definitions can be found by reading over twython/twitter_endpoints.py, as well
|
# More function definitions can be found by reading over twython/twitter_endpoints.py, as well
|
||||||
# as skimming the source file. Both are kept human-readable, and are pretty well documented or
|
# as skimming the source file. Both are kept human-readable, and are pretty well documented or
|
||||||
# very self documenting.
|
# very self documenting.
|
||||||
|
```
|
||||||
|
|
||||||
A note about the development of Twython (specifically, 1.3)
|
A note about the development of Twython (specifically, 1.3)
|
||||||
----------------------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue