Pre-release
This release is a pre-release and may not be stable for production use.
Requirements
flask
python-upwork
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()
Metadata
Release files for Flask-Upwork 1.0-pre2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Flask-Upwork-1.0-pre2.tar.gz | 4.7 kB | Details |
Release files / Flask-Upwork-1.0-pre2.tar.gz
| Download URL | Flask-Upwork-1.0-pre2.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb889f7497bbef6aabea0d4d634b01a11c7e132e99f1fe2b0ea9d20c2d6ab5e4
|
|
BLAKE2b-256 checksum How to use checksums |
20fadef272a624d4414f978ecb8db3a65b4f4cb92b6b7ab44a6f9bba70b9767e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |