DataCollection

class coinmetrics._data_collection.DataCollection(
    data_retrieval_function,
    endpoint,
    url_params,
    csv_export_supported=True,
    client=None,
    paginated=True,
    **kwargs,
)

Bases: objectarrow-up-right

Lazy wrapper around a Coin Metrics REST endpoint response.

Every REST method on CoinMetricsClient returns a DataCollection. It iterates over rows on demand (with transparent paging) and exposes helpers for converting the response into common Python data structures:

Methods

Last updated

Was this helpful?