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.

Source Distribution

pyTemplePriest-0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

pyTemplePriest-0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page