From af3ecff2313a0ba7dd4af650fb2d2505451100e6 Mon Sep 17 00:00:00 2001 From: freelancing-solutions Date: Sun, 2 Apr 2023 19:01:05 +0200 Subject: [PATCH] realease version 0.0.6 --- src/.gitignore | 3 +- .../PKG-INFO | 227 ++++++++++++++++++ .../SOURCES.txt | 132 ++++++++++ .../dependency_links.txt | 1 + .../requires.txt | 4 + .../top_level.txt | 1 + 6 files changed, 366 insertions(+), 2 deletions(-) create mode 100644 src/Intelligent_Stock_Market_API.egg-info/PKG-INFO create mode 100644 src/Intelligent_Stock_Market_API.egg-info/SOURCES.txt create mode 100644 src/Intelligent_Stock_Market_API.egg-info/dependency_links.txt create mode 100644 src/Intelligent_Stock_Market_API.egg-info/requires.txt create mode 100644 src/Intelligent_Stock_Market_API.egg-info/top_level.txt diff --git a/src/.gitignore b/src/.gitignore index 3ccd315..9bc7ddf 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -16,9 +16,8 @@ lib64/ parts/ sdist/ var/ -*.egg-info/ .installed.cfg -*.egg + # PyInstaller # Usually these files are written by a python script from a template diff --git a/src/Intelligent_Stock_Market_API.egg-info/PKG-INFO b/src/Intelligent_Stock_Market_API.egg-info/PKG-INFO new file mode 100644 index 0000000..e7d8e61 --- /dev/null +++ b/src/Intelligent_Stock_Market_API.egg-info/PKG-INFO @@ -0,0 +1,227 @@ +Metadata-Version: 2.1 +Name: Intelligent-Stock-Market-API +Version: 0.0.6 +Summary: An Intelligent EOD Stock Market, Financial News & Financial Social Media Trends API +Home-page: https://eod-stock-api.site +Author: MJ API Development +Author-email: support@eod-stock-api.site +License: Apache 2.0 +Project-URL: Documentation, https://github.com/MJ-API-Development/stock-api-pythonsdk +Project-URL: Source, https://github.com/MJ-API-Development/stock-api-pythonsdk +Project-URL: Tracker, https://github.com/MJ-API-Development/stock-api-pythonsdk/issues +Project-URL: Subscribe - API Keys, https://eod-stock-api.site/login#signup +Project-URL: Intelligent Stock Market API, https://eod-stock-api.site +Project-URL: API Gateway, https://gateway.eod-stock-api.site +Keywords: OpenAPI,Intelligent EOD Stock Market API,EOD STOCK API,Financial News API,Financial Social Media Trends +Requires-Python: >=3.7 +Description-Content-Type: text/markdown + +# Intelligent EOD Stock Market API Python SDK + +

Intelligent EOD Stocks API

+

+ Intelligent Stock Market API provides end-of-day stock data worldwide, financial news, and financial social + media trends for web application developers, researchers and service providers. + The API covers over 150,000 tickers, stocks, mutual funds, and more from around the world. + It offers information for any period, including daily, weekly. +

+ The information provided covers more than 150 000 tickers, stocks, mutual funds and more around the world. + we provide information for any period, including daily, weekly. +

+ +- API version: v1 +- Package version: 0.0.3 + +## Requirements. + +Python 3.4+ + +## Installation & Usage +### pip install + +you can install directly from pypi - +find our package at [Intelligent-Stock-Market-API](https://pypi.org/project/Intelligent-Stock-Market-API) + +On Windows +```sh + pip install Intelligent-Stock-Market-API + +``` + +On Linux + you may need to run `pip` with root permission: +```sh + sudo pip install Intelligent-Stock-Market-API +``` + + +Then import the package: +```python +import IntelligentStockMarketAPI +``` + +### Setuptools + + +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). + +On Windows +```sh +python setup.py install --user +``` + +On Linux +(or `sudo python setup.py install` to install the package for all users) + +Then import the package: +```python +import IntelligentStockMarketAPI +``` + +## Getting Started + +Please follow the [installation procedure](#installation--usage) and then run the following: + + +#### Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api +#### See configuration.py for a list of all supported configuration parameters. + +### EOD Data By Exchange and Date + +```python +from __future__ import print_function + +import time +import IntelligentStockMarketAPI +from IntelligentStockMarketAPI.rest import ApiException +from pprint import pprint + +# To get your API KEY visit [Intelligent EOD Stock Market API](https://eod-stock-market-api.site/login) +# and create your free acoount +configuration = IntelligentStockMarketAPI.Configuration( + host = "https://gateway.eod-stock-api.site/api", + api_key = "SECRET API KEY" +) + +# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api +# See configuration.py for a list of all supported configuration parameters. +# Enter a context with an instance of the API client +with IntelligentStockMarketAPI.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = IntelligentStockMarketAPI.EodApi(api_client) + date = '2022-02-02' # str | + exchange_code = 'TO' # str | "Country"="Canada", "name": "Toronto Exchange", "operating_mic": "XTSE" + + try: + api_response = api_instance.v1_eod_date_exchange_code_get(date, exchange_code) + pprint(api_response) + except ApiException as e: + print("Exception when calling EodApi->v1_eod_date_exchange_code_get: %s\n" % e) +``` + + +### Exchange Details with Complete Ticker List Endpoint +```python + +from __future__ import print_function +import time +import IntelligentStockMarketAPI +from IntelligentStockMarketAPI.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api +# See configuration.py for a list of all supported configuration parameters. +configuration = IntelligentStockMarketAPI.Configuration( + host = "https://gateway.eod-stock-api.site/api", + api_key = "SECRET API KEY" +) +# To get your API KEY visit [Intelligent EOD Stock Market API](https://eod-stock-market-api.site/login) + +# Enter a context with an instance of the API client +with IntelligentStockMarketAPI.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client) + exchange_code = 'TO' # str | Toronto Exchange Canada + + try: + api_response = api_instance.v1_exchange_exchange_with_tickers_code_exchange_code_get(exchange_code) + pprint(api_response) + except ApiException as e: + print("Exception when calling ExchangesApi->v1_exchange_exchange_with_tickers_code_exchange_code_get: %s\n" % e) +``` + +### Latest Financial News Feed +### This will return the latest financial news articles grouped by their related tickers + +Get list of all News Upper Bound is an Integer indicating a total number of articles to return + +```python +from __future__ import print_function +import time +import IntelligentStockMarketAPI +from IntelligentStockMarketAPI.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api +# See configuration.py for a list of all supported configuration parameters. +configuration = IntelligentStockMarketAPI.Configuration( + host = "http://https://gateway.eod-stock-api.site/api", + api_key = "SECRET API KEY", +) + + +# Enter a context with an instance of the API client +with IntelligentStockMarketAPI.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = IntelligentStockMarketAPI.FinancialNewsApi(api_client) + upper_bound = 56 # int | + try: + api_response = api_instance.v1_news_articles_bounded_upper_bound_get(upper_bound) + pprint(api_response) + except ApiException as e: + print("Exception when calling FinancialNewsApi->v1_news_articles_bounded_upper_bound_get: %s\n" % e) +``` + + +### Get Financial News Articles By Ticker + +### Example + +```python +from __future__ import print_function +import time +import IntelligentStockMarketAPI +from IntelligentStockMarketAPI.rest import ApiException +from pprint import pprint +# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api +# See configuration.py for a list of all supported configuration parameters. +configuration = IntelligentStockMarketAPI.Configuration( + host = "http://https://gateway.eod-stock-api.site/api", + api_key = "SECRET API KEY", +) + + +# Enter a context with an instance of the API client +with IntelligentStockMarketAPI.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = IntelligentStockMarketAPI.FinancialNewsApi(api_client) + stock_code = 'stock_code_example' # str | + + try: + api_response = api_instance.v1_news_articles_by_ticker_stock_code_get(stock_code) + pprint(api_response) + except ApiException as e: + print("Exception when calling FinancialNewsApi->v1_news_articles_by_ticker_stock_code_get: %s\n" % e) +``` + + +## Documentation for API Endpoints + +All URIs are relative to *https://gateway.eod-stock-api.site/api* diff --git a/src/Intelligent_Stock_Market_API.egg-info/SOURCES.txt b/src/Intelligent_Stock_Market_API.egg-info/SOURCES.txt new file mode 100644 index 0000000..2cb0d5e --- /dev/null +++ b/src/Intelligent_Stock_Market_API.egg-info/SOURCES.txt @@ -0,0 +1,132 @@ +setup.cfg +setup.py +IntelligentStockMarketAPI/__init__.py +IntelligentStockMarketAPI/api_client.py +IntelligentStockMarketAPI/configuration.py +IntelligentStockMarketAPI/exceptions.py +IntelligentStockMarketAPI/rest.py +IntelligentStockMarketAPI/api/__init__.py +IntelligentStockMarketAPI/api/eod_api.py +IntelligentStockMarketAPI/api/exchanges_api.py +IntelligentStockMarketAPI/api/financial_news_api.py +IntelligentStockMarketAPI/api/fundamentals_api.py +IntelligentStockMarketAPI/api/options_api.py +IntelligentStockMarketAPI/api/sentiment_api.py +IntelligentStockMarketAPI/api/stocks_api.py +IntelligentStockMarketAPI/models/__init__.py +IntelligentStockMarketAPI/models/address_response.py +IntelligentStockMarketAPI/models/analyst.py +IntelligentStockMarketAPI/models/annual_balance_sheet.py +IntelligentStockMarketAPI/models/annual_balance_sheet_response.py +IntelligentStockMarketAPI/models/balance_sheet.py +IntelligentStockMarketAPI/models/balance_sheets.py +IntelligentStockMarketAPI/models/contract_response.py +IntelligentStockMarketAPI/models/contracts.py +IntelligentStockMarketAPI/models/eod_stock.py +IntelligentStockMarketAPI/models/eod_stock_list_response.py +IntelligentStockMarketAPI/models/eod_stock_response.py +IntelligentStockMarketAPI/models/exchange.py +IntelligentStockMarketAPI/models/exchange_list_response.py +IntelligentStockMarketAPI/models/exchange_listed_companies_response.py +IntelligentStockMarketAPI/models/exchange_listed_stock.py +IntelligentStockMarketAPI/models/exchange_request.py +IntelligentStockMarketAPI/models/exchange_response.py +IntelligentStockMarketAPI/models/exchange_with_listed_tickers.py +IntelligentStockMarketAPI/models/exchange_with_tickers.py +IntelligentStockMarketAPI/models/general.py +IntelligentStockMarketAPI/models/general_address.py +IntelligentStockMarketAPI/models/general_contact.py +IntelligentStockMarketAPI/models/general_listings.py +IntelligentStockMarketAPI/models/general_officers.py +IntelligentStockMarketAPI/models/general_response.py +IntelligentStockMarketAPI/models/highlights.py +IntelligentStockMarketAPI/models/highlights_response.py +IntelligentStockMarketAPI/models/news.py +IntelligentStockMarketAPI/models/news_response_list.py +IntelligentStockMarketAPI/models/number_dividends_by_year.py +IntelligentStockMarketAPI/models/options.py +IntelligentStockMarketAPI/models/options_response.py +IntelligentStockMarketAPI/models/payload.py +IntelligentStockMarketAPI/models/public_fundamental.py +IntelligentStockMarketAPI/models/public_fundamentals_response.py +IntelligentStockMarketAPI/models/quarterly_balance_response.py +IntelligentStockMarketAPI/models/quarterly_balance_sheet.py +IntelligentStockMarketAPI/models/related_tickers.py +IntelligentStockMarketAPI/models/resolution.py +IntelligentStockMarketAPI/models/sentiment.py +IntelligentStockMarketAPI/models/share_stats.py +IntelligentStockMarketAPI/models/split_dividends.py +IntelligentStockMarketAPI/models/stock.py +IntelligentStockMarketAPI/models/stock1.py +IntelligentStockMarketAPI/models/stock_list_request.py +IntelligentStockMarketAPI/models/stock_list_response.py +IntelligentStockMarketAPI/models/stock_response.py +IntelligentStockMarketAPI/models/stock_trend_setters.py +IntelligentStockMarketAPI/models/technicals.py +IntelligentStockMarketAPI/models/thumbnail.py +IntelligentStockMarketAPI/models/ticker_exchange_code.py +IntelligentStockMarketAPI/models/valuations.py +Intelligent_Stock_Market_API.egg-info/PKG-INFO +Intelligent_Stock_Market_API.egg-info/SOURCES.txt +Intelligent_Stock_Market_API.egg-info/dependency_links.txt +Intelligent_Stock_Market_API.egg-info/requires.txt +Intelligent_Stock_Market_API.egg-info/top_level.txt +tests/test_address_response.py +tests/test_analyst.py +tests/test_annual_balance_sheet.py +tests/test_annual_balance_sheet_response.py +tests/test_balance_sheet.py +tests/test_balance_sheets.py +tests/test_contract_response.py +tests/test_contracts.py +tests/test_eod_api.py +tests/test_eod_stock.py +tests/test_eod_stock_list_response.py +tests/test_eod_stock_response.py +tests/test_exchange.py +tests/test_exchange_list_response.py +tests/test_exchange_listed_companies_response.py +tests/test_exchange_listed_stock.py +tests/test_exchange_request.py +tests/test_exchange_response.py +tests/test_exchange_with_listed_tickers.py +tests/test_exchange_with_tickers.py +tests/test_exchanges_api.py +tests/test_financial_news_api.py +tests/test_fundamentals_api.py +tests/test_general.py +tests/test_general_address.py +tests/test_general_contact.py +tests/test_general_listings.py +tests/test_general_officers.py +tests/test_general_response.py +tests/test_highlights.py +tests/test_highlights_response.py +tests/test_news.py +tests/test_news_response_list.py +tests/test_number_dividends_by_year.py +tests/test_options.py +tests/test_options_api.py +tests/test_options_response.py +tests/test_payload.py +tests/test_public_fundamental.py +tests/test_public_fundamentals_response.py +tests/test_quarterly_balance_response.py +tests/test_quarterly_balance_sheet.py +tests/test_related_tickers.py +tests/test_resolution.py +tests/test_sentiment.py +tests/test_sentiment_api.py +tests/test_share_stats.py +tests/test_split_dividends.py +tests/test_stock.py +tests/test_stock1.py +tests/test_stock_list_request.py +tests/test_stock_list_response.py +tests/test_stock_response.py +tests/test_stock_trend_setters.py +tests/test_stocks_api.py +tests/test_technicals.py +tests/test_thumbnail.py +tests/test_ticker_exchange_code.py +tests/test_valuations.py \ No newline at end of file diff --git a/src/Intelligent_Stock_Market_API.egg-info/dependency_links.txt b/src/Intelligent_Stock_Market_API.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/Intelligent_Stock_Market_API.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/src/Intelligent_Stock_Market_API.egg-info/requires.txt b/src/Intelligent_Stock_Market_API.egg-info/requires.txt new file mode 100644 index 0000000..17318e9 --- /dev/null +++ b/src/Intelligent_Stock_Market_API.egg-info/requires.txt @@ -0,0 +1,4 @@ +urllib3>=1.15 +six>=1.10 +certifi +python-dateutil diff --git a/src/Intelligent_Stock_Market_API.egg-info/top_level.txt b/src/Intelligent_Stock_Market_API.egg-info/top_level.txt new file mode 100644 index 0000000..015408c --- /dev/null +++ b/src/Intelligent_Stock_Market_API.egg-info/top_level.txt @@ -0,0 +1 @@ +IntelligentStockMarketAPI