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.2.0.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for DeFiLlama-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 748704fcf445b3623ddbfc3ee3c443284b1c118976799467f95b4b6f41e578a1 |
|
MD5 | 4d5acabcdbbf6d6f08453f2bccf9182a |
|
BLAKE2b-256 | 7a59f84ee16541d7dda94075ae64a11209efa0fd8eb43cd0252841fe4291be11 |