Skip to main content

Simple library to make payments via telegram bitcoin exchangers

Project description

💾 Installation

pip install telecoin

📞 Contacts

  • 🖱️ Developer contacts: Dev-Telegram

🐦 Dependencies

Library Description
aiohttp Asynchronous HTTP Client/Server for asyncio and Python.
pyrogram Modern Telegram Framework

❔ What is this?

  • This is simple library to activate @BTC_CHANGE_BOT, @Chatex_bot gift cheque.

↗️ Create Session

import asyncio

from telecoin import BankerWrapper


async def main():
    banker = BankerWrapper(phone_number='Your Number', api_id='Your ID',
                           api_hash='Your Hash',
                           session_name='i_love_telecoin')
    await banker.create_session()


if __name__ == '__main__':
    asyncio.run(main())

💰 Activate Cheque

import asyncio

import telecoin.exceptions
from telecoin import BankerWrapper


async def main():
    banker = BankerWrapper(phone_number='Your Number', api_id='Your ID',
                           api_hash='Your Hash',
                           session_name='i_love_telecoin')
    try:
        result = await chatex.activate_cheque('https://telegram.me/BTC_CHANGE_BOT?start=c_ae0f629a49fd1b494b371c0ec64d1v21')
        print(f'Received {result.btc} BTC / {result.rub} RUB')
    except InvalidCheque:
        print('Cheque is not valid')


if __name__ == '__main__':
    asyncio.run(main())

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

telecoin-0.1.7.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

telecoin-0.1.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file telecoin-0.1.7.tar.gz.

File metadata

  • Download URL: telecoin-0.1.7.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.7 Windows/10

File hashes

Hashes for telecoin-0.1.7.tar.gz
Algorithm Hash digest
SHA256 14eee920c3ed2a73f5e28cf2fa11deee7e304989f3e93366842c91f0233af4c0
MD5 d4cc30b5f84dde2af9f63fe5c06f643c
BLAKE2b-256 ae8bfed00eaa87a3cd97d1344ebaa08b5005b0c99ad2f8dcf4009b0862d0254e

See more details on using hashes here.

Provenance

File details

Details for the file telecoin-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: telecoin-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.9.7 Windows/10

File hashes

Hashes for telecoin-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f19a5f74137a5ec63530f46912bfb2ff86e819111b4cff738939ce917189d6c0
MD5 2de45925a01585cb31bf08e042d3cb4c
BLAKE2b-256 83a6e99515759ee9a82237230e9189addc85182d2b8c15420401671ca6bd024b

See more details on using hashes here.

Provenance

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