Skip to content

nickatnight/birdeye-py

Repository files navigation

birdeye-py

GitHub Actions status Coverage PyPi Shield Python Versions Shield Read The Docs Badge Download Shield License Shield

Features

  • 🪙 BirdEye Supports all BirdEye data services apis.
  • ♻️ 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