Unofficial DeFi Llama API client.
Project description
DeFiLlama
Unofficial DeFi Llama API client in python
For detailed information about the API endpoints, see DeFi Llama API Documentation
Installation:
use pip to install:
pip install DeFiLlama
Authentication:
Endpoints are accessible without an API key.
Example usage:
from defillama import DefiLlama
# initialize api client
llama = DefiLlama()
# Get all protocols data
response = llama.get_all_protocols()
# Get a protocol data
response = llama.get_protocol(name='uniswap')
Donate & Help maintain the library
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
DeFiLlama-2.1.0.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for DeFiLlama-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 618713b17cb66a161f00bf7bdc93497648f569392c909ffec3ff8c5ce6f43e20 |
|
MD5 | 0d168d03fc9850245dd1a5f6bc311c52 |
|
BLAKE2b-256 | c7a4a4891d10c43a358038bcf696161732e44784441cd286b6bbac7496830474 |