Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

tg_api_autoreg-0.1.3-py3-none-any.whl (3.1 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