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

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 hashes
Filename, size pyTemplePriest-0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page