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.4.tar.gz (13.2 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.4-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: poor_yclientsapi-0.1.4.tar.gz
  • Upload date:
  • Size: 13.2 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.4.tar.gz
Algorithm Hash digest
SHA256 73a95665ade78c8ba0da264eecad9ec83d290b6b2d77791faaf396780cc9f55f
MD5 d5b956706c0164e55580d48875a382d0
BLAKE2b-256 a5ec2cb96312be7cea5213acbc093e22e5e8290075c70d65c07376ba8353156a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: poor_yclientsapi-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 25.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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c2c6eed40b22387743321108c4380f2e80c226dab0d4206300075850ce9175b
MD5 9a993ffd5db859519d9e6b6b69e0b1be
BLAKE2b-256 1d667543666f9e5114753b68976439b0ac76bbe131b9913e4e2ad7ef749234a7

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