Add H6's to README.md

This commit is contained in:
Mike Helmick 2012-06-25 11:54:33 -04:00
parent 2155ae0c23
commit dfdbbec5a8

View file

@ -31,7 +31,7 @@ Installation
Usage Usage
----- -----
Authorization URL ###### Authorization URL
```python ```python
from twython import Twython from twython import Twython
@ -50,7 +50,7 @@ print 'Connect to Twitter via: %s' % auth_props['auth_url']
Be sure you have a URL set up to handle the callback after the user has allowed your app to access their data, the callback can be used for storing their final OAuth Token and OAuth Token Secret in a database for use at a later date. Be sure you have a URL set up to handle the callback after the user has allowed your app to access their data, the callback can be used for storing their final OAuth Token and OAuth Token Secret in a database for use at a later date.
Handling the callback ###### Handling the callback
```python ```python
from twython import Twython from twython import Twython
@ -71,7 +71,7 @@ print auth_tokens
*Function definitions (i.e. getHomeTimeline()) can be found by reading over twython/twitter_endpoints.py* *Function definitions (i.e. getHomeTimeline()) can be found by reading over twython/twitter_endpoints.py*
Getting a user home timeline ###### Getting a user home timeline
```python ```python
from twython import Twython from twython import Twython
@ -90,7 +90,7 @@ t = Twython(app_key=app_key,
print t.getHomeTimeline() print t.getHomeTimeline()
``` ```
Get a user avatar url *(no authentication needed)* ###### Get a user avatar url *(no authentication needed)*
```python ```python
from twython import Twython from twython import Twython
@ -100,7 +100,7 @@ print t.getProfileImageUrl('ryanmcgrath', size='bigger')
print t.getProfileImageUrl('mikehelmick') print t.getProfileImageUrl('mikehelmick')
``` ```
Search Twitter *(no authentication needed)* ###### Search Twitter *(no authentication needed)*
```python ```python
from twython import Twython from twython import Twython
@ -109,7 +109,7 @@ t = Twython()
print t.search(q='python') print t.search(q='python')
``` ```
Streaming API ###### Streaming API
*Usage is as follows; it's designed to be open-ended enough that you can adapt it to higher-level (read: Twitter must give you access) *Usage is as follows; it's designed to be open-ended enough that you can adapt it to higher-level (read: Twitter must give you access)
streams.* streams.*