Skip to main content

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)

Uploaded Source

Built Distribution

defillamaAPI-0.0.2-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page