pyfreekassa

Python wrapper for FreeKassa api


Keywords
freekassa, api, wrapper, client, sdk, collaborate
License
MIT
Install
pip install pyfreekassa==1.0.0

Documentation

Pyfreekassa

Supports all freekassa API methods (Need testing)

Asynchronous

Has built-in tools like OrderID and Nonce generators

Usage example:

from pyfreekassa import Configuration, FreekassaApi, 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 = FreekassaApi(config=Configuration(), wallet_id=1)

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

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

Documentation

Feel free to contribute.