Skip to main content

Python wrapper for birdeye.so api

Project description

birdeye-py

GitHub Actions status Coverage PyPi Shield Python Versions Shield Download Shield License Shield

Features

  • 🪙 BirdEye Only supports standard subscription api urls (package is still in active development)
  • ♻️ Retry Strategy Sensible defaults to reliably retry/back-off fetching data from the api
  • ✏️ Code Formatting Fully typed with mypy and code formatters black / isort
  • ⚒️ Modern tooling using uv, ruff, and pre-commit
  • 📥 GitHub Actions CI/CD to automate everything
  • ↩️ Code Coverage Fully tested using tools like Codecov
  • 🐍 Python Support All minor versions from 3.9 are supported

Installation

$ pip install birdeye-py

Usage

from birdeyepy import BirdEye

# get price of a token on the solana blockchain
client = BirdEye(api_key="your-api-key")

client.defi.price(
    address="Gr11mosZNZjwpqnemXNnWs9E2Bnv7R6vzaKwJTdjo8zQ",
    include_liquidity=True,  # can also use strings 'true' or 'false'
)

Documentation

See ful documentation here, or API docs


If you would like to support development efforts, tips are greatly appreciated. SOL wallet address: HKmUpKBCcZGVX8RqLRcKyjYuY23hQHwnFSHXzdon4pCH

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

birdeye_py-0.0.5.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file birdeye_py-0.0.5.tar.gz.

File metadata

  • Download URL: birdeye_py-0.0.5.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for birdeye_py-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ece3ab06defd549c56f4dbd97964e423ec23172a049bb326bd7249324f63f6c6
MD5 3706be4cb3e1a54baa8b4fbff6fd3865
BLAKE2b-256 9aa9b6eb73339efc98f736405b9c390f99124c12bf68e3852805f5b16ecefd05

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