Skip to main content

woofipro crypto exchange api client

Project description

woofipro-python

Python SDK (sync and async) for Woofipro with Rest and WS capabilities.

You can check Woofipro's docs here: Docs

You can check the SDK docs here: SDK

This package derives from CCXT and allows you to call pretty much every endpoint by either using the unified CCXT API or calling the endpoints directly

Installation

pip install woofipro-api

Usage

Sync

from woofipro_api import WoofiproSync

def main():
    instance = WoofiproSync({})
    ob =  instance.fetch_order_book("BTC/USDC")
    print(ob)
    #
    # balance = instance.fetch_balance()
    # order = instance.create_order("BTC/USDC", "limit", "buy", 1, 100000)

Async

import asyncio
from woofipro_api import WoofiproAsync

async def main():
    instance = WoofiproAsync({})
    ob =  await instance.fetch_order_book("BTC/USDC")
    print(ob)
    #
    # balance = await instance.fetch_balance()
    # order = await instance.create_order("BTC/USDC", "limit", "buy", 1, 100000)

asyncio.run(main())

Websockets

from woofipro_api import WoofiproWs

async def main():
    instance = WoofiproWs({})
    while True:
        ob = await instance.watch_order_book("BTC/USDC")
        print(ob)
        # orders = await instance.watch_orders("BTC/USDC")

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

woofipro_api-0.0.8.tar.gz (523.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

woofipro_api-0.0.8-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file woofipro_api-0.0.8.tar.gz.

File metadata

  • Download URL: woofipro_api-0.0.8.tar.gz
  • Upload date:
  • Size: 523.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for woofipro_api-0.0.8.tar.gz
Algorithm Hash digest
SHA256 745894d32ea89cf42d10e5b008d6799b712536d43a82a56aa1c61e3d2d392b36
MD5 656fe76e3d98e45f797d50f5cb673fd3
BLAKE2b-256 08284c4cb981b6c121ba190e677efbdc4f2c8892d4568f4cbf550493056a52a6

See more details on using hashes here.

File details

Details for the file woofipro_api-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: woofipro_api-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for woofipro_api-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 53511d59adc86e037eda86f7a669be7acaf8e6d16b0ed49d79e700463a9d9db5
MD5 65a040a27f4d0e0ced4e111e232464b1
BLAKE2b-256 ee6c4b205d7362df1fb5c7eaf6dc3c67707e0181cd144c143943af5dccf0827a

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