Joe Gregorio | 48d361f | 2010-08-18 13:19:21 -0400 | [diff] [blame] | 1 | This is a prototype implementation of a client |
| 2 | for discovery based APIs. |
| 3 | |
| 4 | Installation |
| 5 | ============ |
| 6 | |
| 7 | None. |
| 8 | |
| 9 | For the time being the required libraries |
| 10 | are checked into this directory to make |
| 11 | developement easier, so you can just run |
| 12 | this directly after checking out. |
| 13 | |
| 14 | Running |
| 15 | ======= |
| 16 | |
| 17 | First run three-legged-dance.py to get OAuth |
Tom Miller | 3a49e4c | 2010-09-28 15:16:25 -0700 | [diff] [blame^] | 18 | tokens for Buzz, which will be stored in |
| 19 | buzz.dat in the working directory. |
Joe Gregorio | 48d361f | 2010-08-18 13:19:21 -0400 | [diff] [blame] | 20 | |
Tom Miller | 3a49e4c | 2010-09-28 15:16:25 -0700 | [diff] [blame^] | 21 | $ python samples/cmdline/three_legged_dance.py |
Joe Gregorio | 48d361f | 2010-08-18 13:19:21 -0400 | [diff] [blame] | 22 | |
Tom Miller | 3a49e4c | 2010-09-28 15:16:25 -0700 | [diff] [blame^] | 23 | Then run buzz.py, which will use the apiclient |
Joe Gregorio | 48d361f | 2010-08-18 13:19:21 -0400 | [diff] [blame] | 24 | library to retrieve the title of the most |
Tom Miller | 3a49e4c | 2010-09-28 15:16:25 -0700 | [diff] [blame^] | 25 | recent entry in Buzz and post a test message. |
Joe Gregorio | 48d361f | 2010-08-18 13:19:21 -0400 | [diff] [blame] | 26 | |
Tom Miller | 3a49e4c | 2010-09-28 15:16:25 -0700 | [diff] [blame^] | 27 | $ python samples/cmdline/buzz.py |
Joe Gregorio | 48d361f | 2010-08-18 13:19:21 -0400 | [diff] [blame] | 28 | |
| 29 | |
Tom Miller | 3a49e4c | 2010-09-28 15:16:25 -0700 | [diff] [blame^] | 30 | Third Party Libraries |
Joe Gregorio | 48d361f | 2010-08-18 13:19:21 -0400 | [diff] [blame] | 31 | ==================== |
| 32 | |
| 33 | http://code.google.com/p/httplib2 |
| 34 | http://code.google.com/p/uri-templates |
| 35 | http://github.com/simplegeo/python-oauth2 |
| 36 | |