()
| 14 | |
| 15 | |
| 16 | def test_me() : |
| 17 | print '* Calling Twitter...' |
| 18 | url = augment('https://api.twitter.com/1.1/statuses/user_timeline.json', |
| 19 | {'screen_name': 'drchuck', 'count': '2'} ) |
| 20 | print url |
| 21 | connection = urllib.urlopen(url) |
| 22 | data = connection.read() |
| 23 | print data |
| 24 | headers = connection.info().dict |
| 25 | print headers |