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.8.tar.gz
(11.8 kB
view details)
File details
Details for the file zenmoney_py-1.0.8.tar.gz
.
File metadata
- Download URL: zenmoney_py-1.0.8.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811da1fc89a91760fa67a5765d88f3b55c5b2052a3a1e7ffe6d3a37bb5d71c0a |
|
MD5 | aa7230eee7cecad1dbc5de8b391bc62e |
|
BLAKE2b-256 | 3d9f72970970799ac5491a7fa8d65e286b10f5bdbf8b6862155d3f76c3c948bc |