Skip to main content

Poor collection of API methods for Yclients app

Project description

Poor YclientsAPI

Small set of methods for working with Yclients API. Non official.

Installation

pip install poor_yclientsapi

Usage

>>> from yclientsapi import YclientsAPI
>>> with YclientsAPI(COMPANY_ID, PARTNER_TOKEN, USER_TOKEN) as api:
>>>     services = api.service.list(staff_id=MY_STAFF_ID)

COMPAMY_ID - client company id from YCLIENTS PARTNER_TOKEN - general developer token from YCLIENTS USER_TOKEN - authorization token for client data access in YCLIENTS (Optional)

If you don't have USER_TOKEN, you can call auth.authenticate(USER_LOGIN, USER_PASSWORD) later to retrive and save USER_TOKEN for futher requests

Tests

/src/yclientsapi/tests/integration/README.md

More info

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

poor_yclientsapi-0.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

poor_yclientsapi-0.1.1-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file poor_yclientsapi-0.1.1.tar.gz.

File metadata

  • Download URL: poor_yclientsapi-0.1.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.6.0

File hashes

Hashes for poor_yclientsapi-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b193280c8d827fc10970fb7a16573fb85ee1a1f904ba98f4347b183c4405950f
MD5 ce95c71852e36be932fc7640cc37690c
BLAKE2b-256 c9f72279b1371dacb8596c58e29baa67807428e2193a891c25481322e266f285

See more details on using hashes here.

File details

Details for the file poor_yclientsapi-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: poor_yclientsapi-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/23.6.0

File hashes

Hashes for poor_yclientsapi-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 980a027a84d6396c69831e75453e3dbf59079ebc54d456f57f32cd8d8198c335
MD5 94754714cac697bc8752ecd8c3cdf998
BLAKE2b-256 6861840d9160738e215102a73e97fb16bb634e22fabdefb1b1ed1be665769eba

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