Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

messari/messari-python-api

Repository files navigation

[DEPRECATED] Messari API

Messari provides a free API for crypto prices, market data metrics, on-chain metrics, and qualitative information (asset profiles).

This documentation will provide the basic steps to start using messari’s python library.

Remote Install

To install the messari package remotely:

$> pip install git+https://github.com/messari/messari-python-api.git

Local Install

To install the messari package from the source:

$> git clone https://github.com/messari/messari-python-api.git
$> cd messari-python-api
messari-python-api$> python -m pip install -r requirements.txt
messari-python-api$> python setup.py install

Quickstart

For a quick demo, you can try the following:

$> python
>>> from messari.messari import Messari
>>> messari = Messari(<optional API_KEY>)
>>> assets = ['btc', 'eth']
>>> metric = 'price'
>>> start = '2020-06-01'
>>> end = '2021-01-01'
>>> timeseries_df = messari.get_metric_timeseries(asset_slugs=assets, asset_metric=metric, start=start, end=end)
>>> print(timeseries_df)

Docs

To open the offical docs go here.

Examples can be found in this Jupyter Notebook.

About

Python client for Messari's API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published