|
1 |
| -# stock-api-pythonsdk |
2 |
| -A Python SDK for using our API |
| 1 | +# openapi-client |
| 2 | + |
| 3 | +<h2>Intelligent EOD Stocks API</h2> |
| 4 | + <p> |
| 5 | + End of day stock world wide STOCK API, this api is intended for use by web application developers, |
| 6 | + and service providers looking for up-to-date always available. |
| 7 | + <ul> |
| 8 | + <li>Exchange Information</li> |
| 9 | + <li>Stock Tickers Data</li> |
| 10 | + <li>End of Day (EOD) Stock Data</li> |
| 11 | + <li>Fundamental Data</li> |
| 12 | + <li>Stock Options And Splits Data</li> |
| 13 | + <li>Financial News API</li> |
| 14 | + <li>Social Media Trend Data For Stocks</li> |
| 15 | + <li>Sentiment Analysis for News & Social Media</li> |
| 16 | + </ul> |
| 17 | + The information provided covers more than 150 000 tickers, stocks, mutual funds and more around the world. |
| 18 | + we provide information for any period, including daily, weekly. |
| 19 | + </p> |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | +This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: |
| 24 | + |
| 25 | +- API version: v1 |
| 26 | +- Package version: 1.0.0 |
| 27 | +- Build package: org.openapitools.codegen.languages.PythonClientCodegen |
| 28 | + |
| 29 | +## Requirements. |
| 30 | + |
| 31 | +Python 2.7 and 3.4+ |
| 32 | + |
| 33 | +## Installation & Usage |
| 34 | +### pip install |
| 35 | + |
| 36 | +If the python package is hosted on a repository, you can install directly using: |
| 37 | + |
| 38 | +```sh |
| 39 | +pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git |
| 40 | +``` |
| 41 | +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) |
| 42 | + |
| 43 | +Then import the package: |
| 44 | +```python |
| 45 | +import openapi_client |
| 46 | +``` |
| 47 | + |
| 48 | +### Setuptools |
| 49 | + |
| 50 | +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). |
| 51 | + |
| 52 | +```sh |
| 53 | +python setup.py install --user |
| 54 | +``` |
| 55 | +(or `sudo python setup.py install` to install the package for all users) |
| 56 | + |
| 57 | +Then import the package: |
| 58 | +```python |
| 59 | +import openapi_client |
| 60 | +``` |
| 61 | + |
| 62 | +## Getting Started |
| 63 | + |
| 64 | +Please follow the [installation procedure](#installation--usage) and then run the following: |
| 65 | + |
| 66 | +```python |
| 67 | +from __future__ import print_function |
| 68 | + |
| 69 | +import time |
| 70 | +import openapi_client |
| 71 | +from openapi_client.rest import ApiException |
| 72 | +from pprint import pprint |
| 73 | + |
| 74 | +# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api |
| 75 | +# See configuration.py for a list of all supported configuration parameters. |
| 76 | +configuration = openapi_client.Configuration( |
| 77 | + host = "http://https://gateway.eod-stock-api.site/api" |
| 78 | +) |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | +# Enter a context with an instance of the API client |
| 83 | +with openapi_client.ApiClient(configuration) as api_client: |
| 84 | + # Create an instance of the API class |
| 85 | + api_instance = openapi_client.EodApi(api_client) |
| 86 | + date = 'date_example' # str | |
| 87 | +exchange_code = 'exchange_code_example' # str | |
| 88 | + |
| 89 | + try: |
| 90 | + api_response = api_instance.v1_eod_date_exchange_code_get(date, exchange_code) |
| 91 | + pprint(api_response) |
| 92 | + except ApiException as e: |
| 93 | + print("Exception when calling EodApi->v1_eod_date_exchange_code_get: %s\n" % e) |
| 94 | + |
| 95 | +``` |
| 96 | + |
| 97 | +## Documentation for API Endpoints |
| 98 | + |
| 99 | +All URIs are relative to *http://https://gateway.eod-stock-api.site/api* |
| 100 | + |
| 101 | +Class | Method | HTTP request | Description |
| 102 | +------------ | ------------- | ------------- | ------------- |
| 103 | +*EodApi* | [**v1_eod_date_exchange_code_get**](docs/EodApi.md#v1_eod_date_exchange_code_get) | **GET** /v1/eod/{_date}/{exchange_code} | |
| 104 | +*EodApi* | [**v1_eod_date_exchange_code_stock_code_get**](docs/EodApi.md#v1_eod_date_exchange_code_stock_code_get) | **GET** /v1/eod/{_date}/{exchange_code}.{stock_code} | |
| 105 | +*EodApi* | [**v1_eod_from_to_exchange_code_get**](docs/EodApi.md#v1_eod_from_to_exchange_code_get) | **GET** /v1/eod/{_from}.{_to}/{exchange_code} | |
| 106 | +*EodApi* | [**v1_eod_from_to_stock_code_get**](docs/EodApi.md#v1_eod_from_to_stock_code_get) | **GET** /v1/eod/{_from}.{_to}/{stock_code} | |
| 107 | +*ExchangesApi* | [**v1_exchange_code_exchange_code_get**](docs/ExchangesApi.md#v1_exchange_code_exchange_code_get) | **GET** /v1/exchange/code/{exchange_code} | |
| 108 | +*ExchangesApi* | [**v1_exchange_exchange_with_tickers_code_exchange_code_get**](docs/ExchangesApi.md#v1_exchange_exchange_with_tickers_code_exchange_code_get) | **GET** /v1/exchange/exchange-with-tickers/code/{exchange_code} | |
| 109 | +*ExchangesApi* | [**v1_exchange_id_exchange_id_get**](docs/ExchangesApi.md#v1_exchange_id_exchange_id_get) | **GET** /v1/exchange/id/{exchange_id} | |
| 110 | +*ExchangesApi* | [**v1_exchange_listed_companies_exchange_code_get**](docs/ExchangesApi.md#v1_exchange_listed_companies_exchange_code_get) | **GET** /v1/exchange/listed-companies/{exchange_code} | |
| 111 | +*ExchangesApi* | [**v1_exchange_listed_stocks_exchange_code_get**](docs/ExchangesApi.md#v1_exchange_listed_stocks_exchange_code_get) | **GET** /v1/exchange/listed-stocks/{exchange_code} | |
| 112 | +*ExchangesApi* | [**v1_exchange_post**](docs/ExchangesApi.md#v1_exchange_post) | **POST** /v1/exchange | |
| 113 | +*ExchangesApi* | [**v1_exchanges_get**](docs/ExchangesApi.md#v1_exchanges_get) | **GET** /v1/exchanges | |
| 114 | +*FinancialNewsApi* | [**v1_news_article_uuid_get**](docs/FinancialNewsApi.md#v1_news_article_uuid_get) | **GET** /v1/news/article/{uuid} | |
| 115 | +*FinancialNewsApi* | [**v1_news_articles_bounded_upper_bound_get**](docs/FinancialNewsApi.md#v1_news_articles_bounded_upper_bound_get) | **GET** /v1/news/articles-bounded/{upper_bound} | |
| 116 | +*FinancialNewsApi* | [**v1_news_articles_by_date_date_get**](docs/FinancialNewsApi.md#v1_news_articles_by_date_date_get) | **GET** /v1/news/articles-by-date/{_date} | |
| 117 | +*FinancialNewsApi* | [**v1_news_articles_by_publisher_publisher_get**](docs/FinancialNewsApi.md#v1_news_articles_by_publisher_publisher_get) | **GET** /v1/news/articles-by-publisher/{publisher} | |
| 118 | +*FinancialNewsApi* | [**v1_news_articles_by_ticker_stock_code_get**](docs/FinancialNewsApi.md#v1_news_articles_by_ticker_stock_code_get) | **GET** /v1/news/articles-by-ticker/{stock_code} | |
| 119 | +*FundamentalsApi* | [**v1_fundamental_company_stock_code_get**](docs/FundamentalsApi.md#v1_fundamental_company_stock_code_get) | **GET** /v1/fundamental/company/{stock_code} | |
| 120 | +*FundamentalsApi* | [**v1_fundamental_general_get**](docs/FundamentalsApi.md#v1_fundamental_general_get) | **GET** /v1/fundamental/general | |
| 121 | +*FundamentalsApi* | [**v1_fundamentals_annual_balance_sheet_filing_date_stock_code_get**](docs/FundamentalsApi.md#v1_fundamentals_annual_balance_sheet_filing_date_stock_code_get) | **GET** /v1/fundamentals/annual-balance-sheet/{filing_date}/{stock_code} | |
| 122 | +*FundamentalsApi* | [**v1_fundamentals_company_address_id_fundamental_id_get**](docs/FundamentalsApi.md#v1_fundamentals_company_address_id_fundamental_id_get) | **GET** /v1/fundamentals/company-address/id/{fundamental_id} | |
| 123 | +*FundamentalsApi* | [**v1_fundamentals_company_address_stock_stock_code_get**](docs/FundamentalsApi.md#v1_fundamentals_company_address_stock_stock_code_get) | **GET** /v1/fundamentals/company-address/stock/{stock_code} | |
| 124 | +*FundamentalsApi* | [**v1_fundamentals_company_details_id_fundamental_id_get**](docs/FundamentalsApi.md#v1_fundamentals_company_details_id_fundamental_id_get) | **GET** /v1/fundamentals/company-details/id/{fundamental_id} | |
| 125 | +*FundamentalsApi* | [**v1_fundamentals_company_details_stock_stock_code_get**](docs/FundamentalsApi.md#v1_fundamentals_company_details_stock_stock_code_get) | **GET** /v1/fundamentals/company-details/stock/{stock_code} | |
| 126 | +*FundamentalsApi* | [**v1_fundamentals_company_insider_transactions_stock_code_stock_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_company_insider_transactions_stock_code_stock_code_year_get) | **GET** /v1/fundamentals/company-insider-transactions/stock-code/{stock_code}/{year} | |
| 127 | +*FundamentalsApi* | [**v1_fundamentals_company_valuations_stock_code_stock_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_company_valuations_stock_code_stock_code_year_get) | **GET** /v1/fundamentals/company-valuations/stock-code/{stock_code}/{year} | |
| 128 | +*FundamentalsApi* | [**v1_fundamentals_exchange_analyst_rankings_exchange_code_exchange_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_exchange_analyst_rankings_exchange_code_exchange_code_year_get) | **GET** /v1/fundamentals/exchange-analyst-rankings/exchange-code/{exchange_code}/{year} | |
| 129 | +*FundamentalsApi* | [**v1_fundamentals_exchange_outstanding_shares_exchange_code_exchange_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_exchange_outstanding_shares_exchange_code_exchange_code_year_get) | **GET** /v1/fundamentals/exchange-outstanding-shares/exchange-code/{exchange_code}/{year} | |
| 130 | +*FundamentalsApi* | [**v1_fundamentals_financial_statements_by_term_from_to_stock_code_term_get**](docs/FundamentalsApi.md#v1_fundamentals_financial_statements_by_term_from_to_stock_code_term_get) | **GET** /v1/fundamentals/financial-statements/by-term/{_from}.{_to}/{stock_code}/{term} | |
| 131 | +*FundamentalsApi* | [**v1_fundamentals_financial_statements_company_statement_stock_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_financial_statements_company_statement_stock_code_year_get) | **GET** /v1/fundamentals/financial-statements/company-statement/{stock_code}/{year} | |
| 132 | +*FundamentalsApi* | [**v1_fundamentals_financial_statements_exchange_year_exchange_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_financial_statements_exchange_year_exchange_code_year_get) | **GET** /v1/fundamentals/financial-statements/exchange-year/{exchange_code}/{year} | |
| 133 | +*FundamentalsApi* | [**v1_fundamentals_financial_statements_filing_date_ticker_filing_date_stock_code_get**](docs/FundamentalsApi.md#v1_fundamentals_financial_statements_filing_date_ticker_filing_date_stock_code_get) | **GET** /v1/fundamentals/financial-statements/filing-date-ticker/{filing_date}/{stock_code} | |
| 134 | +*FundamentalsApi* | [**v1_fundamentals_financial_statements_ticker_date_range_from_to_stock_code_get**](docs/FundamentalsApi.md#v1_fundamentals_financial_statements_ticker_date_range_from_to_stock_code_get) | **GET** /v1/fundamentals/financial-statements/ticker-date-range/{_from}.{_to}/{stock_code} | |
| 135 | +*FundamentalsApi* | [**v1_fundamentals_financials_income_statements_statement_id_get**](docs/FundamentalsApi.md#v1_fundamentals_financials_income_statements_statement_id_get) | **GET** /v1/fundamentals/financials/income-statements/{statement_id} | |
| 136 | +*FundamentalsApi* | [**v1_fundamentals_highlights_id_fundamental_id_get**](docs/FundamentalsApi.md#v1_fundamentals_highlights_id_fundamental_id_get) | **GET** /v1/fundamentals/highlights/id/{fundamental_id} | |
| 137 | +*FundamentalsApi* | [**v1_fundamentals_highlights_stock_stock_code_get**](docs/FundamentalsApi.md#v1_fundamentals_highlights_stock_stock_code_get) | **GET** /v1/fundamentals/highlights/stock/{stock_code} | |
| 138 | +*FundamentalsApi* | [**v1_fundamentals_quarterly_balance_sheet_filing_date_stock_code_get**](docs/FundamentalsApi.md#v1_fundamentals_quarterly_balance_sheet_filing_date_stock_code_get) | **GET** /v1/fundamentals/quarterly-balance-sheet/{filing_date}/{stock_code} | |
| 139 | +*FundamentalsApi* | [**v1_fundamentals_tech_indicators_by_company_stock_code_stock_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_tech_indicators_by_company_stock_code_stock_code_year_get) | **GET** /v1/fundamentals/tech-indicators-by-company/stock-code/{stock_code}/{year} | |
| 140 | +*FundamentalsApi* | [**v1_fundamentals_tech_indicators_by_exchange_exchange_code_exchange_code_year_get**](docs/FundamentalsApi.md#v1_fundamentals_tech_indicators_by_exchange_exchange_code_exchange_code_year_get) | **GET** /v1/fundamentals/tech-indicators-by-exchange/exchange-code/{exchange_code}/{year} | |
| 141 | +*OptionsApi* | [**v1_stocks_contract_call_put_id_get**](docs/OptionsApi.md#v1_stocks_contract_call_put_id_get) | **GET** /v1/stocks/contract/{call_put_id} | |
| 142 | +*OptionsApi* | [**v1_stocks_options_stock_stock_code_get**](docs/OptionsApi.md#v1_stocks_options_stock_stock_code_get) | **GET** /v1/stocks/options/stock/{stock_code} | |
| 143 | +*SentimentApi* | [**v1_sentiment_trend_setters_stock_stock_code_get**](docs/SentimentApi.md#v1_sentiment_trend_setters_stock_stock_code_get) | **GET** /v1/sentiment/trend-setters/stock/{stock_code} | |
| 144 | +*SentimentApi* | [**v1_sentiment_trending_stock_stock_code_get**](docs/SentimentApi.md#v1_sentiment_trending_stock_stock_code_get) | **GET** /v1/sentiment/trending/stock/{stock_code} | |
| 145 | +*SentimentApi* | [**v1_sentiment_tweet_stock_stock_code_get**](docs/SentimentApi.md#v1_sentiment_tweet_stock_stock_code_get) | **GET** /v1/sentiment/tweet/stock/{stock_code} | |
| 146 | +*StocksApi* | [**v1_stock_code_stock_code_get**](docs/StocksApi.md#v1_stock_code_stock_code_get) | **GET** /v1/stock/code/{stock_code} | |
| 147 | +*StocksApi* | [**v1_stocks_country_country_get**](docs/StocksApi.md#v1_stocks_country_country_get) | **GET** /v1/stocks/country/{country} | |
| 148 | +*StocksApi* | [**v1_stocks_currency_currency_get**](docs/StocksApi.md#v1_stocks_currency_currency_get) | **GET** /v1/stocks/currency/{currency} | |
| 149 | +*StocksApi* | [**v1_stocks_exchange_code_exchange_code_get**](docs/StocksApi.md#v1_stocks_exchange_code_exchange_code_get) | **GET** /v1/stocks/exchange/code/{exchange_code} | |
| 150 | +*StocksApi* | [**v1_stocks_exchange_id_exchange_id_get**](docs/StocksApi.md#v1_stocks_exchange_id_exchange_id_get) | **GET** /v1/stocks/exchange/id/{exchange_id} | |
| 151 | +*StocksApi* | [**v1_stocks_get**](docs/StocksApi.md#v1_stocks_get) | **GET** /v1/stocks | |
| 152 | +*StocksApi* | [**v1_stocks_post**](docs/StocksApi.md#v1_stocks_post) | **POST** /v1/stocks | |
| 153 | + |
| 154 | + |
| 155 | +## Documentation For Models |
| 156 | + |
| 157 | + - [AddressResponse](docs/AddressResponse.md) |
| 158 | + - [Analyst](docs/Analyst.md) |
| 159 | + - [AnnualBalanceSheet](docs/AnnualBalanceSheet.md) |
| 160 | + - [AnnualBalanceSheetResponse](docs/AnnualBalanceSheetResponse.md) |
| 161 | + - [BalanceSheet](docs/BalanceSheet.md) |
| 162 | + - [BalanceSheets](docs/BalanceSheets.md) |
| 163 | + - [ContractResponse](docs/ContractResponse.md) |
| 164 | + - [Contracts](docs/Contracts.md) |
| 165 | + - [EODStock](docs/EODStock.md) |
| 166 | + - [EODStockListResponse](docs/EODStockListResponse.md) |
| 167 | + - [EODStockResponse](docs/EODStockResponse.md) |
| 168 | + - [Exchange](docs/Exchange.md) |
| 169 | + - [ExchangeListResponse](docs/ExchangeListResponse.md) |
| 170 | + - [ExchangeListedCompaniesResponse](docs/ExchangeListedCompaniesResponse.md) |
| 171 | + - [ExchangeListedStock](docs/ExchangeListedStock.md) |
| 172 | + - [ExchangeRequest](docs/ExchangeRequest.md) |
| 173 | + - [ExchangeResponse](docs/ExchangeResponse.md) |
| 174 | + - [ExchangeWithListedTickers](docs/ExchangeWithListedTickers.md) |
| 175 | + - [ExchangeWithTickers](docs/ExchangeWithTickers.md) |
| 176 | + - [General](docs/General.md) |
| 177 | + - [GeneralAddress](docs/GeneralAddress.md) |
| 178 | + - [GeneralContact](docs/GeneralContact.md) |
| 179 | + - [GeneralListings](docs/GeneralListings.md) |
| 180 | + - [GeneralOfficers](docs/GeneralOfficers.md) |
| 181 | + - [GeneralResponse](docs/GeneralResponse.md) |
| 182 | + - [Highlights](docs/Highlights.md) |
| 183 | + - [HighlightsResponse](docs/HighlightsResponse.md) |
| 184 | + - [News](docs/News.md) |
| 185 | + - [NewsResponseList](docs/NewsResponseList.md) |
| 186 | + - [NumberDividendsByYear](docs/NumberDividendsByYear.md) |
| 187 | + - [Options](docs/Options.md) |
| 188 | + - [OptionsResponse](docs/OptionsResponse.md) |
| 189 | + - [Payload](docs/Payload.md) |
| 190 | + - [PublicFundamental](docs/PublicFundamental.md) |
| 191 | + - [PublicFundamentalsResponse](docs/PublicFundamentalsResponse.md) |
| 192 | + - [QuarterlyBalanceResponse](docs/QuarterlyBalanceResponse.md) |
| 193 | + - [QuarterlyBalanceSheet](docs/QuarterlyBalanceSheet.md) |
| 194 | + - [RelatedTickers](docs/RelatedTickers.md) |
| 195 | + - [Resolution](docs/Resolution.md) |
| 196 | + - [Sentiment](docs/Sentiment.md) |
| 197 | + - [ShareStats](docs/ShareStats.md) |
| 198 | + - [SplitDividends](docs/SplitDividends.md) |
| 199 | + - [Stock](docs/Stock.md) |
| 200 | + - [Stock1](docs/Stock1.md) |
| 201 | + - [StockListRequest](docs/StockListRequest.md) |
| 202 | + - [StockListResponse](docs/StockListResponse.md) |
| 203 | + - [StockResponse](docs/StockResponse.md) |
| 204 | + - [StockTrendSetters](docs/StockTrendSetters.md) |
| 205 | + - [Technicals](docs/Technicals.md) |
| 206 | + - [Thumbnail](docs/Thumbnail.md) |
| 207 | + - [TickerExchangeCode](docs/TickerExchangeCode.md) |
| 208 | + - [Valuations](docs/Valuations.md) |
| 209 | + |
| 210 | + |
| 211 | +## Documentation For Authorization |
| 212 | + |
| 213 | + |
| 214 | +## basicAuth |
| 215 | + |
| 216 | +- **Type**: HTTP basic authentication |
| 217 | + |
| 218 | + |
| 219 | +## Author |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
0 commit comments