Files
OpenBB/gamestonk_terminal/cryptocurrency/overview/overview_api.py
jose-donato 4501dfd442 Crypto features: Replace coingecko scrapping (#1156)
* replaced cgcategories with api

* added coingecko categories

* refactoring commands to use api, added coins to cryptocontroller and merged find and coins

* autocompletion for coins

* removed unused vars

* added dappradar features

* refactoring commands position

* refactoring commands position

* adding visual commands and fixed report

* skipped tests for now

* lint notebook

* correct report

* black formatter keeps crying because notebook

* removed unused imports

* Fixed black

* Keep kernel metadata 'cause it's required by papermill

* Change jupyter cleanup hook to one based on nbconvert

* Try fix the hook I just broke

* Fix trailing commas in the crypto notebook

* Change the jupyter hook to a one that's featured on pre-commit's page

* Format report notebook and test new notebook hook

* Black the notebook

* Remove deleted functions from the crypto discovery API

* Remove deleted functions from the crypto overview API

* replaced print for console print and removed print from table

* replaced print for console print and removed print from table

* auto completion + sort for all discovery commands

* replacing help messages

* fix linting

* added docs and removed unused commands

* added todos and fixed help messages

* lint

* pr issues fixed

* updated tests

* tests merge

* replaced with new rich table function

Co-authored-by: Colin Delahunty <colin99delahunty@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2022-01-25 14:05:00 +00:00

37 lines
1.8 KiB
Python

"""Overview context API."""
import os
from gamestonk_terminal.helper_classes import ModelsNamespace as _models
# flake8: noqa
# pylint: disable=unused-import
# Menu commands
from .blockchaincenter_view import display_altcoin_index as altindex
from .withdrawalfees_view import display_overall_withdrawal_fees as wf
from .withdrawalfees_view import display_overall_exchange_withdrawal_fees as ewf
from .withdrawalfees_view import display_crypto_withdrawal_fees as wfpe
from .pycoingecko_view import display_holdings_overview as cghold
from .pycoingecko_view import display_categories as cgcategories
from .pycoingecko_view import display_stablecoins as cgstables
from .pycoingecko_view import display_products as cgproducts
from .pycoingecko_view import display_platforms as cgplatforms
from .pycoingecko_view import display_exchanges as cgexchanges
from .pycoingecko_view import display_exchange_rates as cgexrates
from .pycoingecko_view import display_indexes as cgindexes
from .pycoingecko_view import display_derivatives as cgderivatives
from .pycoingecko_view import display_global_market_info as cgglobal
from .pycoingecko_view import display_global_defi_info as cgdefi
from .coinpaprika_view import display_global_market as cpglobal
from .coinpaprika_view import display_all_coins_market_info as cpmarkets
from .coinpaprika_view import display_exchange_markets as cpexmarkets
from .coinpaprika_view import display_all_coins_info as cpinfo
from .coinpaprika_view import display_all_exchanges as cpexchanges
from .coinpaprika_view import display_all_platforms as cpplatforms
from .coinpaprika_view import display_contracts as cpcontracts
from .coinbase_view import display_trading_pairs as cbpairs
from .cryptopanic_view import display_news as news
# Models
models = _models(os.path.abspath(os.path.dirname(__file__)))