From d99d31acb92a4298543ee20ffd30fa6c9adcf774 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sun, 24 Dec 2017 13:22:49 -0500 Subject: [PATCH] Rename method for getting list of all available tickers --- README.rst | 6 +++--- docs/usage.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 6fb886e..95c796d 100644 --- a/README.rst +++ b/README.rst @@ -37,8 +37,8 @@ First, install the library from PyPi: pip install tiingo -Next, initialize your client object. It is recommended to use an environment -variable to initialize your client object for convenience. +Next, initialize your client. It is recommended to use an environment +variable to initialize your client for convenience. .. code-block:: python @@ -76,7 +76,7 @@ Now you can use ``TiingoClient`` to make your API calls. (Other parameters are a # Check what tickers are available, as well as metadata about each ticker # including supported currency, exchange, and available start/end dates. - tickers = client.get_stock_tickers() + tickers = client.list_stock_tickers() # Get news articles about given tickers or search terms from given domains articles = client.get_news(tickers=['GOOGL', 'APPL'], diff --git a/docs/usage.rst b/docs/usage.rst index 01f4423..628ef60 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -45,7 +45,7 @@ Now you can use ``TiingoClient`` to make your API calls. (Other parameters are a # Check what tickers are available, as well as metadata about each ticker # including supported currency, exchange, and available start/end dates. - tickers = client.get_stock_tickers() + tickers = client.list_stock_tickers() # Get news articles about given tickers. Requires Pro account. articles = client.get_news(tickers=['GOOGL', 'APPL'],