Skip to main content

Library for zenmoney.ru API

Project description

Python library for ZenMoney API

This library allows you to use ZenMoney API.

There is a simplest way to start:

import time

from zenmoney import ZenmoneyOAuth2, ZenmoneyRequest
from zenmoney.models import Diff

oauth = ZenmoneyOAuth2('your_consumer_key', 'your_consumer_secret', 'user_name', 'user_password')
zenmoney_client = ZenmoneyRequest(oauth.token.access_token)
server_timestamp = 0
current_timestamp = int(time.time())
params = Diff(
    server_timestamp=server_timestamp,
    current_client_timestamp=current_timestamp,
)
data = zenmoney_client.diff(params=params)

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

zenmoney_py-1.0.9.tar.gz (11.8 kB view details)

Uploaded Source

File details

Details for the file zenmoney_py-1.0.9.tar.gz.

File metadata

  • Download URL: zenmoney_py-1.0.9.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for zenmoney_py-1.0.9.tar.gz
Algorithm Hash digest
SHA256 04139f4bd59101519e40139367ab94bcf853ec356a62fbe2e7796158c45c55ed
MD5 2042906d6dfe09c04c1bb6a89c2b3b60
BLAKE2b-256 f8c41382317f7f78353eac296bd7b497168b641cf54eeab04f75df22cf4d606d

See more details on using hashes here.

Supported by

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