Source

bitbucket-api-example / bitbucket_oauth /

Filename Size Date modified Message
..
apps
lib
templates
674 B
0 B
546 B
3.2 KB
125 B
Basic example application that hooks up to the Bitbucket.org API.

Setup
-----

It's a standard Django application. Here are the dependencies (from pip freeze):

Django==1.3
PyYAML==3.09
httplib2==0.6.0
oauth2==1.5.167

Running
-------

Do a 'manage.py syncdb' to get everything rolling, and then 'manage.py runserver'
to run the development webserver.

Now access the application on http://127.0.0.1:8000/ and click the "Authorize" button.

This app has been set up to use the "Demo Application" consumer on Bitbucket.org, but
in case you're doing any real integration work, you should obtain a consumer of your own.

One can be gotten by emailing support@bitbucket.org :)