Skip to main content

Telegram Parking Bot (API Client)

Project description

tg-parking-api-client

pip install pba-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.6.tar.gz (4.1 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.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pba-client-0.0.6.tar.gz
  • Upload date:
  • Size: 4.1 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.6.tar.gz
Algorithm Hash digest
SHA256 ba1b453f2ff5969c884c5497e620af928d96946169a5b68cae34acc01b8466f3
MD5 ad21aa337bbad3cfe31a8d7b9a674e4d
BLAKE2b-256 fc12ed5739c573db84753aeba6181736dc6b71c970a6792e74783407074a19fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pba_client-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 38f4c05efb874603e094b3c982c8575ed826291a57f328e64c7ef65ccad50cce
MD5 529a3429a7fe8684e9bf693aa1b61338
BLAKE2b-256 a0d1ff5f29550172901d9c30711dafdf5e9e58689baee6ce80d86d0c5b5616be

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