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.1.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for DeFiLlama-2.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f375f4a977ecbca943b7d6260f1a740182f770173bda3726d031e4e40ff49961 |
|
MD5 | 6f8f35e8c1d7cea917673158feaf748e |
|
BLAKE2b-256 | a3c7f6c3c161474713d58e793bc34381295555632b895cee3bb1a2cd53f242fd |