Skip to main content

Unofficial Messari API client.

Project description

Messari

Python 3.7 Python 3.8 Python 3.9

License


Unofficial Messari's Crypto Data API client in python

The library can be used for crypto prices, market data metrics, on-chain metrics, and qualitative information (asset profile). For more information, see Messari API Documentation

Installation:

use pip to install:

pip install messari

Authentication:

Pass API key in object initialization.


Example usage:

from messari import Messari

# initialize api client

messari = Messari(key='xxxxxxxxxxxxxxx')

# Get a list of all assets and their market caps, sorted by market cap descending.
response = messari.get_all_assets()

# Get the ID, name, symbol, slug, market cap, sector, category, and tags for a single asset.
response = messari.get_asset_by_id(asset_id=asset_id)

# Get market data for a specific asset.
response = messari.get_market_data_by_asset(asset_id=asset_id)

# Get a list ROI data for all assets.
response = messari.get_roi()

# Get a single assets ROI data.
response = messari.get_roi_by_asset(asset_id=asset_id)

# Get a list of market specific data for all markets.
response = messari.get_markets()

# Get a list of exchanges with market data.
response = messari.get_exchanges()

Donate & Help maintain the library

Paypal


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

messari-2.1.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

messari-2.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file messari-2.1.0.tar.gz.

File metadata

  • Download URL: messari-2.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for messari-2.1.0.tar.gz
Algorithm Hash digest
SHA256 9df807150642cf29c0950e40d7f871aafb870a473ae0e04ff0aefa96703380b2
MD5 ca098d6665aa7fd47b86d26c51df71af
BLAKE2b-256 d3a7502069f49c9cac6e1705598982decef63f98f16d0fd6933637c5cec59fbb

See more details on using hashes here.

File details

Details for the file messari-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: messari-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for messari-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cf5cdf5b3ea6f0a17f443592039d83d3cb49c9fd8adfb1743f7ac74507ed56e
MD5 aaf25758b3fe481ae90ca479176f018c
BLAKE2b-256 cc8d35c1b165e29f2eb329686badcaaf4de650f9b116ab6528dbe76d0476ab52

See more details on using hashes here.

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