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
Release history Release notifications | RSS feed
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.10.tar.gz
(11.9 kB
view details)
File details
Details for the file zenmoney_py-1.0.10.tar.gz
.
File metadata
- Download URL: zenmoney_py-1.0.10.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff2a980c6b68b4b9efe8bce604867c1fbd9b83ed9a7cdb37c3e6e287d5d87743 |
|
MD5 | e074f6d25de415dc765fd99b2b7884a1 |
|
BLAKE2b-256 | c34004791e1f80aeeb5db54ff309dabf3b0e8a7b3d05590e8026174fb8a44162 |