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.11.tar.gz (11.9 kB view details)

Uploaded Source

File details

Details for the file zenmoney-py-1.0.11.tar.gz.

File metadata

  • Download URL: zenmoney-py-1.0.11.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for zenmoney-py-1.0.11.tar.gz
Algorithm Hash digest
SHA256 e69a6f0200f0dac850b98307020518255b84884b6b3d759d1249c9e30fd88395
MD5 8206f0100959b406fbd322ce92d5a993
BLAKE2b-256 a209690d6597f090aade248c18750f6e6d81cdf3384dc600e63b7060de308364

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