Pre-release
This release is a pre-release and may not be stable for production use.
Flask-Upwork
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-pre1
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-pre1.tar.gz | 4.7 kB | Details |
Release files / Flask-Upwork-1.0-pre1.tar.gz
| Download URL | Flask-Upwork-1.0-pre1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e56b35cb6f27d4f6d48c09fb443a39847e0e4db5423419bd6ebc2cab880cffae
|
|
BLAKE2b-256 checksum How to use checksums |
3ec6ba8a0770ccbd7556108577eb7de58514b311b7a4d41a0b328ccd14bbb993
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |