This repository has been archived on 2025-01-27. You can view files and clone it, but cannot push or open issues or pull requests.
wot_stats_server/test_auth.py

10 lines
323 B
Python
Raw Normal View History

2017-09-17 18:07:15 +03:00
import json
import requests
application_id = '502910c1c785c3c7ca2e83c9e89bde02'
nofollow = 1
url = 'https://api.worldoftanks.ru/wot/auth/login/'
redirect_url = 'http://truesoft.org:5000/login'
print requests.get('{}?application_id={}&nofollow={}&redirect_uri={}'.format(url, application_id, nofollow, redirect_url)).text