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.2.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.2-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poor_yclientsapi-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 32ded59e583f9839d418dfa2101fc4d3ed8e3df997a6676ee2c7a1ec5daa1519
MD5 61db48fbb9424540d8b9cd004bac6e1a
BLAKE2b-256 518196c53d9ff8f2aaec28c7b584ac8337398278dd5236cef58aa34ddc962170

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poor_yclientsapi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 24.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a81d26d92c523103ad90277d005a135e5eec35b4f6ffcd33ae1920d792dc5080
MD5 2ff40f832fee1a0de371f80506724d3f
BLAKE2b-256 edc181dd61eed9b3cd7a498f9ad0251ca1dbc5c502fa0c1688772df8635ef276

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