Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nickatnight/birdeye-py

Python API wrapper for birdeye.so
https://github.com/nickatnight/birdeye-py

api api-wrapper birdeye birdeyesolana blockchain cryptocurrency data-aggregation-api dexscreener dextools github-actions python python3 ruff solana uv

Last synced: 15 days ago
JSON representation

Python API wrapper for birdeye.so

Awesome Lists containing this project

README

        

# 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](https://docs.birdeye.so/docs/overview).
- â™ģī¸ **Retry Strategy** Sensible defaults to reliably retry/back-off fetching data from the api
- ✏ī¸ **Code Formatting** Fully typed with [mypy](https://mypy-lang.org/) and code formatters [black](https://github.com/psf/black) / [isort](https://pycqa.github.io/isort/)
- ⚒ī¸ **Modern tooling** using [uv](https://docs.astral.sh/uv/), [ruff](https://docs.astral.sh/ruff/), and [pre-commit](https://pre-commit.com/)
- đŸ“Ĩ **GitHub Actions** CI/CD to automate [everything](.github/workflows/main.yml)
- ↩ī¸ **Code Coverage** Fully tested using tools like [Codecov](https://about.codecov.io/)
- 🐍 **Python Support** All minor [versions](https://www.python.org/downloads/) from 3.9 are supported

## Installation
```sh
$ pip install birdeye-py
```

## Usage
```python
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](https://birdeye-py.readthedocs.io/en/stable/), or API [docs](https://docs.birdeye.so/docs/overview)

---

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