Skip to main content

Python wrapper for FreeKassa api

Project description

Pyfreekassa

Supports all freekassa API methods (Need testing)

Asynchronous

Has built-in tools like OrderID and Nonce generators

Usage example:

from pyfreekassa import Configuration, FrekassaApi, Nonce
import asyncio

Configuration.configure(
    merchant_id = 123,
    first_secret = "abc",
    second_secret = "def", 
    wallet_api_key = "qwerty123",
    nonce_generation_method = Nonce.Methods.TXT,
    nonce_path = "nonce.txt"
)
fk = FrekassaApi(config=Configuration(), payment_order_id="12345", wallet_id=1)

async def main():
    print(await fk.get_payment_systems())

if __name__ == "__main__":
    asyncio.run(main())

Feel free to contribute.

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

pyfreekassa-1.0.0.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

pyfreekassa-1.0.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

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