defillama API Module
Project description
defillamaAPI
Under Development API Collection of DefiLlama (https://defillama.com/docs/api) - Unofficial
Installation:
use pip to install:
pip install defillamaAPI
Example usage:
from defillamaAPI import TVL
# initialize TVL api client
defillama_tvl = TVL()
# Get all protocols data
response = defillama_tvl.get_protocols()
Task ToDo -> Add remaining endpoints -> User can select if he wants pandas dataframe or just response json -> Test with other versions of python ( Although used only requests and time module with no fancy methods)
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
defillamaAPI-0.0.2.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for defillamaAPI-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45b3137572b83e8fd7257bc839903b23665ebef7834a0ffcc8bbb643242d284d |
|
MD5 | ba52ecb6c5cb49be512bffe0f3602455 |
|
BLAKE2b-256 | 7758c216e1985c47a8369152113d04ec27c17277f87b8ad8da2c3924629488b7 |