messari.nfts.nftpricefloor package
Submodules
messari.nfts.nftpricefloor.nftpricefloor module
This module is meant to contain the NFTPriceFloor class
- class messari.nfts.nftpricefloor.nftpricefloor.NFTPriceFloor
Bases:
messari.dataloader.DataLoader
This class is a wrapper around the NFTPriceFloor API
Methods
get_floor
(collection_in)Retrive floor data for collection(s)
get_nfts
()Retrieve basic info for all nfts
get_response
(endpoint_url[, params, headers])Gets response from endpoint and checks for HTTP errors when requesting data.
set_api_dict
(api_dict)Sets a new dictionary to be used as an API key pair
set_taxonomy_dict
(taxonomy_dict)Sets a new dictionary to be used for taxonomy translations
translate
(input_slugs)Wrapper around messari.utils.validate_input, validate input & check if it's supported by DeFi Llama
- get_floor(collection_in: Union[str, List]) pandas.core.frame.DataFrame
Retrive floor data for collection(s)
- Parameters
- collections_in: str, List
single collection name in or list of collection names
- Returns
- DataFrame
DataFrame with timeseries price floor
- get_nfts() pandas.core.frame.DataFrame
Retrieve basic info for all nfts
- Returns
- DataFrame
DataFrame with info on all nfts
Module contents
Module to handle initialization, imports, for NFTPriceFloor class