blob: 43e4611af8a02256cb66a688c5eb7bd460a980d4 [file] [log] [blame]
Joe Gregorio48d361f2010-08-18 13:19:21 -04001This is a prototype implementation of a client
2for discovery based APIs.
3
4Installation
5============
6
7None.
8
9For the time being the required libraries
10are checked into this directory to make
11developement easier, so you can just run
12this directly after checking out.
13
14Running
15=======
16
17First run three-legged-dance.py to get OAuth
Tom Miller3a49e4c2010-09-28 15:16:25 -070018tokens for Buzz, which will be stored in
19buzz.dat in the working directory.
Joe Gregorio48d361f2010-08-18 13:19:21 -040020
Tom Miller3a49e4c2010-09-28 15:16:25 -070021 $ python samples/cmdline/three_legged_dance.py
Joe Gregorio48d361f2010-08-18 13:19:21 -040022
Tom Miller3a49e4c2010-09-28 15:16:25 -070023Then run buzz.py, which will use the apiclient
Joe Gregorio48d361f2010-08-18 13:19:21 -040024library to retrieve the title of the most
Tom Miller3a49e4c2010-09-28 15:16:25 -070025recent entry in Buzz and post a test message.
Joe Gregorio48d361f2010-08-18 13:19:21 -040026
Tom Miller3a49e4c2010-09-28 15:16:25 -070027 $ python samples/cmdline/buzz.py
Joe Gregorio48d361f2010-08-18 13:19:21 -040028
29
Tom Miller3a49e4c2010-09-28 15:16:25 -070030Third Party Libraries
Joe Gregorio48d361f2010-08-18 13:19:21 -040031====================
32
33http://code.google.com/p/httplib2
34http://code.google.com/p/uri-templates
35http://github.com/simplegeo/python-oauth2
36