upwork-api

upwork-api client.auth.get_request_token() returns (null,null)

♀尐吖头ヾ 提交于 2020-02-23 04:15:51
问题 I am moving my first steps with the upwork API in python, but I am stuck at the first steps. I am following the tutorials but I cannot get the tokens from oauth. upwork.ca_certs_locater.LINUX_PATH = 'C:\\Users\\somedir\\cacert.pem' client = upwork.Client(upwork_key, upwork_secret) print("Please to this URL (authorize the app if necessary):") print(client.auth.get_authorize_url()) print("After that you should be redirected back to your app URL with " + "additional ?oauth_verifier= parameter")

Can't connect with upwork to get any information

一世执手 提交于 2020-01-23 17:14:27
问题 I try to use upwork api in flask to get some information, but it doesn't work. How could I get something from upwork with its api? file app.py import os from flask import * from flask_migrate import Migrate, MigrateCommand from flask_script import Manager from flask_sqlalchemy import SQLAlchemy from config import Configuration from upwork import * import upwork # Create Flask app app = Flask(__name__) app.config.from_object(Configuration) db = SQLAlchemy(app) conn = db.engine #os.environ[