Skip to main content

Telegram Parking Bot (API Client)

Project description

tg-parking-api-client

telegram_users.basic_operation:

    def create_telegram_user(self, user: dict):
        url = self.prepare_url()
        return requests.post(url, json=user).json()
        
    def create_telegram_user(self, user: dict):
        url = self.prepare_url()
        return requests.post(url, json=user).json()

    def get_telegram_user(self, user: dict):
        url = self.prepare_url(f"{user.get('id')}")
        return requests.get(url).json()

    def update_telegram_user(self, user: dict):
        url = self.prepare_url(f"{user.get('id')}")
        return requests.put(url, json=user).json()

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

pba-client-0.0.5.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pba_client-0.0.5-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pba-client-0.0.5.tar.gz.

File metadata

  • Download URL: pba-client-0.0.5.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pba-client-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3f3b8d2d2491670b2702fb1f927c96a2dfb3a271211a23a2066d6528458d1bb8
MD5 e506ee2f0e1d8eccb248a6b802dd75ff
BLAKE2b-256 acc56cb3737be490de31afc7bd68939a96ed0ec2f1677b828933873ecea3ea58

See more details on using hashes here.

File details

Details for the file pba_client-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pba_client-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pba_client-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c2fb6981049f65cba1396a95903a74bf4f4448382f316a3be763bf9105f1b65a
MD5 759d669dd882938534187da28ee1458f
BLAKE2b-256 d52443684affaadcce8bad3394ed4be3ce3df4977fe00c795ccfd4f1965c099d

See more details on using hashes here.

Supported by

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