Đã Đóng

Fix Python Script to use Google OAuth Refresh token and get new access token

This is what the script does now.

In my web app, users authenticate with Google. The token retrieved is meant for offline use so that my app can access Google Analytics data each day.

These tokens are stored in JSON format with other information that my app adds to the JSON, in a folder named /tokens/

The python script reads the tokens files from this folder parses the token, makes a query to Google Analytics and saves the re{"action": "set_ga_profile_view","blog_id": "245","post_id": "29", "token":{"access_token":"xxx"...}}sults in a new json file as well as returns them to the screen.

What you fix

If the original access token is expired, you will use the refresh token to get a new access token. Once it has a new access token it will use parts of the original json file from the /tokens/ folder and add the token. An of what you create is this...

{"action": "set_ga_profile_view","blog_id": "245","post_id": "29", "token":{"access_token":"xxx"...}}

Action, blog_id etc are all available in the JSON file that the python script is reading from the file in /tokens/ this is ready.

So when you fix the python to get a new access. The python script will http post a new JSON blob with new access token to my server so we can store the new updated token.

Your job to summarize is this.

When the python scripts makes a GA http post query and the access token has expired you will get a new access token using the refresh token.

Create a JSON blob and post to my server

Delete old token file in /tokens/

Let script continue looping over all files in /tokens/

You MUST be able to complete this in 2 days. I have use postman to do HTTP post to see how to get new refresh tokens. It's very very easy. I do not have time to fix this python script. If you're unable to complete in 2 days do not bid.

Kĩ năng: OAuth, Python

Xem nhiều hơn: oauth2credentials, developer information: invalid_request - invalid redirect_uri parameter value, azure missing access token parameter, django oauth2 refresh token, django oauth toolkit refresh_token, python oauth2 refresh token, missing access token parameter, missingtokenerror: (missing_token) missing access token parameter., script will use addresses send searches google bing, translate google script php, google chrome fix bugs, update access database using script, nmea data google kml files use, access outlook java script, logon script net use win2003 rdp

Về Bên Thuê:
( 18 nhận xét ) Mount Sinai, United States

ID dự án: #14385740

13 freelancer đang chào giá trung bình $149 cho công việc này


Hello. I ‘ve read your post and very interested in your job. I ‘m sure I can satisfy you with my skills and talents. I have much experiences in programming and developing software. I major in Unity3D(AR & Google Tan Thêm

$222 USD trong 3 ngày
(43 Nhận xét)

Hi there, I have experience with OAuth using PYTHON. I have read the description and we can discuss further details in private message.

$150 USD trong 2 ngày
(39 Nhận xét)

Expert python developer with experience of over 100 projects and masters in Data science and science. I can build the code to compete the oauth requirements.

$144 USD trong 2 ngày
(29 Nhận xét)

Dear Employer, I am a Python expert and will do any job using Python. I have done a lot of jobs using Python as a language. Just give me one chance and you will not be disappointed. Thanks and Regards, Ashish Si Thêm

$250 USD trong 3 ngày
(4 Nhận xét)
$225 USD trong 2 ngày
(3 Nhận xét)

I have knowledge on how access tokens work and how to refresh them. I have made projects involving API's that request tokens for authentication so this will be easy for me.

$30 USD trong 2 ngày
(6 Nhận xét)

I am starting a career in freelancing and trying to build long term relationship with my clients. so good ratings is very important for me at this point. In-Shah-Allah it will be an easy task for me.

$155 USD trong 10 ngày
(0 Nhận xét)

oauth is my field. let me help you :)

$187 USD trong 3 ngày
(0 Nhận xét)

The bid is cheap but the work wont be. I have a 4 years experience into Python and have worked on robust Natural Language Processing.

$155 USD trong 3 ngày
(0 Nhận xét)

Hi I am zubair I have 8+ years experiences working in oauth, python languages’ have completed lot of projects related to this project. After carefully reviewing the experience requirements of the job description. I f Thêm

$30 USD trong 2 ngày
(1 Nhận xét)

Hello, My name is ishtiyaq, I am certified python expert I have 6 years+ experience in python language and I have completed 100+ projects using python .. Expertise : Python, Django, Django-Rest- Framework and many p Thêm

$30 USD trong 4 ngày
(0 Nhận xét)

I've worked on oAuth and oAuth2 for Google Analytics and Google AdWords. Worked on getting refresh tokens. Can discuss in detail with you.

$200 USD trong 2 ngày
(0 Nhận xét)

Hello. My name Konstantin. I'm already finished few projects related with google api (using Google drive, Google Calendar) I used OAuth authorisation in them and understand what you talk about. Relevant Skills and Exp Thêm

$155 USD trong 3 ngày
(0 Nhận xét)