Adds oDesk API support to Flask
Project description
Requirements
flask
python-odesk
python-oauth2
Using client
You can use get_access_token method to get the current access token and access token secret, that can be stored in DB and used for access to the client later, if necessary:
if odesk.is_authorized(): access_token, access_token_secret = odesk.get_access_token()
You can use get_client method to get the client:
if odesk.is_authorized(): c = odesk.get_client() c.team.get_teamrooms()
Or you can use the client even if the current user is not authorized, but you have the access token and access token secret:
if not odesk.is_authorized(): c = odesk.get_client(access_token, access_token_secret) c.team.get_teamrooms()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-oDesk-0.4.1.1.tar.gz
(5.7 kB
view details)
File details
Details for the file Flask-oDesk-0.4.1.1.tar.gz
.
File metadata
- Download URL: Flask-oDesk-0.4.1.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c02adc7fb1bb0b6d1cc79085a43bfb093b930ba5f5a98cd8abbd4f862d57fb |
|
MD5 | e2581d230c3b8219b0f3d666cbe74e56 |
|
BLAKE2b-256 | 7bafab6d56d13b8024fcd37850973c73d008ac1eb6ad109fe849b57997e2dde0 |