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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file defillama-2.2.0.tar.gz.
File metadata
- Download URL: defillama-2.2.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04c5f5119644053bfa113a0fb275b839f07b3e2e60130f9fcb8fe05063cd8e5f
|
|
| MD5 |
eca0df1d29e8d6fd637466ede2e0dbd6
|
|
| BLAKE2b-256 |
a2ceb931bd67e2ddf0196a1ab991005a7db8e823846d3ee8efa60dbe63173c8c
|
File details
Details for the file DeFiLlama-2.2.0-py3-none-any.whl.
File metadata
- Download URL: DeFiLlama-2.2.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
748704fcf445b3623ddbfc3ee3c443284b1c118976799467f95b4b6f41e578a1
|
|
| MD5 |
4d5acabcdbbf6d6f08453f2bccf9182a
|
|
| BLAKE2b-256 |
7a59f84ee16541d7dda94075ae64a11209efa0fd8eb43cd0252841fe4291be11
|