Library for automatic registration telegram User Api (Alpha)
Project description
tg-api-autoreg
Developed by: Alexand Macheck My telegram
Python module for automatic registration Telegram User API
pip install tg-api-autoreg
Examples:
Short:
phone = '+123456789'
proxy = '127.0.0.1:8888'
session = Reigister_api(phone, proxy, send_code=True) # initializing
data = session.get_api(input('code: '))
print(data) # -> dict with all avliable info (with api_id, api_hash)
Detailed:
phone = '+123456789'
proxy = '127.0.0.1:8888'
session = Reigister_api(phone, proxy) # initializing
random_hash = seesion.send_code() # Send code request
cookies = session.login(input('confirmation code:')) # passing conf code
session.create_api() # creating new api
session.parse_api_data() # parsing & saving all api_id, api_hash
data = session.api_data()
print(data) # -> dict with all avliable info (with api_id, api_hash)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tg_api_autoreg-0.1.3.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tg_api_autoreg-0.1.3.tar.gz.
File metadata
- Download URL: tg_api_autoreg-0.1.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
485c893252649bb85cdb4540a2d344ab0b867defbc6532052ed30114637306e8
|
|
| MD5 |
e846050e7bec74c3c3b2fc5c285abd05
|
|
| BLAKE2b-256 |
1453f6f79342a551adfb1b7909660b365269a573b17d04405807dc83e62256f7
|
File details
Details for the file tg_api_autoreg-0.1.3-py3-none-any.whl.
File metadata
- Download URL: tg_api_autoreg-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6416d0a2f981355d563acb9d4d564e8c155470cf76a1df640e5426060b144804
|
|
| MD5 |
d97931ac50c8e9c9598cb611c3d88590
|
|
| BLAKE2b-256 |
238579fefe2c8ea1be52c7ca9d631406dbe1eb8bd60e543f46a60ee5aea95f40
|