Skip to main content

Python temple priest api.

Project description

# pyTemplePriestAPI
* Установка с репозитория:
```
$ git clone https://github.com/painca/pyTemplePriestAPI.git
$ cd pyTemplePriestAPi
$ python setup.py install
```
* Запуск:
```
import templepriest

app_id = "app_id"
app_token = "app_token"
user_id = 123456789

api = templepriest.api(app_id, app_token)
api.get_user_code(user_id)

user_token = api.get_user_token(user_id, input("Enter code: ")) #Код придет в лс с ботом

user = api.get_user(user_token)
print("Уровень:", user.lvl, "("+str(user.xp)+"/"+str(user.next_lvl_xp)+")")
```

Для получения app_id и app_token обратится к @serogaq


Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyTemplePriest, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyTemplePriest-0.1-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyTemplePriest-0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page