Intelligent-Stock-Market-API


NameIntelligent-Stock-Market-API JSON
Version 0.0.6 PyPI version JSON
download
home_pagehttps://eod-stock-api.site
SummaryAn Intelligent EOD Stock Market, Financial News & Financial Social Media Trends API
upload_time2023-04-02 16:52:15
maintainer
docs_urlNone
authorMJ API Development
requires_python>=3.7
licenseApache 2.0
keywords openapi intelligent eod stock market api eod stock api financial news api financial social media trends
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Intelligent EOD Stock Market API Python SDK

<h2>Intelligent EOD Stocks API</h2>
    <p>
        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.
    <ul>
        <li>Exchange Information</li>
        <li>Stock Tickers Data</li>
        <li>End of Day (EOD) Stock Data</li>
        <li>Fundamental Data</li>
        <li>Stock Options And Splits Data</li>
        <li>Financial News API</li>
        <li>Social Media Trend Data For Stocks</li>
        <li>Sentiment Analysis for News & Social Media</li>
    </ul>       
        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.
    </p>

- 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*

            

Raw data

            {
    "_id": null,
    "home_page": "https://eod-stock-api.site",
    "name": "Intelligent-Stock-Market-API",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "OpenAPI,Intelligent EOD Stock Market API,EOD STOCK API,Financial News API,Financial Social Media Trends",
    "author": "MJ API Development",
    "author_email": "support@eod-stock-api.site",
    "download_url": "",
    "platform": null,
    "description": "# Intelligent EOD Stock Market API Python SDK\n\n<h2>Intelligent EOD Stocks API</h2>\n    <p>\n        Intelligent Stock Market API provides end-of-day stock data worldwide, financial news, and financial social\n        media trends for web application developers, researchers and service providers.\n        The API covers over 150,000 tickers, stocks, mutual funds, and more from around the world.\n        It offers information for any period, including daily, weekly.\n    <ul>\n        <li>Exchange Information</li>\n        <li>Stock Tickers Data</li>\n        <li>End of Day (EOD) Stock Data</li>\n        <li>Fundamental Data</li>\n        <li>Stock Options And Splits Data</li>\n        <li>Financial News API</li>\n        <li>Social Media Trend Data For Stocks</li>\n        <li>Sentiment Analysis for News & Social Media</li>\n    </ul>       \n        The information provided covers more than 150 000 tickers, stocks, mutual funds and more around the world.\n        we provide information for any period, including daily, weekly.\n    </p>\n\n- API version: v1\n- Package version: 0.0.3\n\n## Requirements.\n\nPython 3.4+\n\n## Installation & Usage\n### pip install\n\nyou can install directly from pypi - \nfind our package at [Intelligent-Stock-Market-API](https://pypi.org/project/Intelligent-Stock-Market-API)\n\nOn Windows\n```sh\n    pip install Intelligent-Stock-Market-API\n    \n```\n\nOn Linux \n    you may need to run `pip` with root permission:\n```sh\n  sudo pip install Intelligent-Stock-Market-API\n```\n\n\nThen import the package:\n```python\nimport IntelligentStockMarketAPI\n```\n\n### Setuptools\n\n\nInstall via [Setuptools](http://pypi.python.org/pypi/setuptools).\n\nOn Windows\n```sh\npython setup.py install --user\n```\n\nOn Linux\n(or `sudo python setup.py install` to install the package for all users)\n\nThen import the package:\n```python\nimport IntelligentStockMarketAPI\n```\n\n## Getting Started\n\nPlease follow the [installation procedure](#installation--usage) and then run the following:\n\n\n#### Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api\n#### See configuration.py for a list of all supported configuration parameters.\n\n### EOD Data By Exchange and Date  \n\n```python\nfrom __future__ import print_function\n\nimport time\nimport IntelligentStockMarketAPI\nfrom IntelligentStockMarketAPI.rest import ApiException\nfrom pprint import pprint\n\n# To get your API KEY visit [Intelligent EOD Stock Market API](https://eod-stock-market-api.site/login) \n# and create your free acoount \nconfiguration = IntelligentStockMarketAPI.Configuration(\n    host = \"https://gateway.eod-stock-api.site/api\",\n    api_key = \"SECRET API KEY\"\n)\n\n# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api\n# See configuration.py for a list of all supported configuration parameters.\n# Enter a context with an instance of the API client\nwith IntelligentStockMarketAPI.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = IntelligentStockMarketAPI.EodApi(api_client)\n    date = '2022-02-02' # str | \n    exchange_code = 'TO' # str | \"Country\"=\"Canada\", \"name\": \"Toronto Exchange\", \"operating_mic\": \"XTSE\" \n\n    try:\n        api_response = api_instance.v1_eod_date_exchange_code_get(date, exchange_code)\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling EodApi->v1_eod_date_exchange_code_get: %s\\n\" % e)    \n```\n\n\n### Exchange Details with Complete Ticker List Endpoint\n```python\n\nfrom __future__ import print_function\nimport time\nimport IntelligentStockMarketAPI\nfrom IntelligentStockMarketAPI.rest import ApiException\nfrom pprint import pprint\n# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = IntelligentStockMarketAPI.Configuration(\n    host = \"https://gateway.eod-stock-api.site/api\",\n    api_key = \"SECRET API KEY\"\n)\n# To get your API KEY visit [Intelligent EOD Stock Market API](https://eod-stock-market-api.site/login)\n\n# Enter a context with an instance of the API client\nwith IntelligentStockMarketAPI.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)\n    exchange_code = 'TO' # str | Toronto Exchange Canada \n\n    try:\n        api_response = api_instance.v1_exchange_exchange_with_tickers_code_exchange_code_get(exchange_code)\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling ExchangesApi->v1_exchange_exchange_with_tickers_code_exchange_code_get: %s\\n\" % e)\n```\n\n### Latest Financial News Feed\n### This will return the latest financial news articles grouped by their related tickers\n\nGet list of all News Upper Bound is an Integer indicating a total number of articles to return\n\n```python\nfrom __future__ import print_function\nimport time\nimport IntelligentStockMarketAPI\nfrom IntelligentStockMarketAPI.rest import ApiException\nfrom pprint import pprint\n# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = IntelligentStockMarketAPI.Configuration(\n    host = \"http://https://gateway.eod-stock-api.site/api\",\n    api_key = \"SECRET API KEY\",\n)\n\n\n# Enter a context with an instance of the API client\nwith IntelligentStockMarketAPI.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = IntelligentStockMarketAPI.FinancialNewsApi(api_client)\n    upper_bound = 56 # int | \n    try:\n        api_response = api_instance.v1_news_articles_bounded_upper_bound_get(upper_bound)\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling FinancialNewsApi->v1_news_articles_bounded_upper_bound_get: %s\\n\" % e)\n```\n  \n\n### Get Financial News Articles By Ticker\n\n### Example\n\n```python\nfrom __future__ import print_function\nimport time\nimport IntelligentStockMarketAPI\nfrom IntelligentStockMarketAPI.rest import ApiException\nfrom pprint import pprint\n# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = IntelligentStockMarketAPI.Configuration(\n    host = \"http://https://gateway.eod-stock-api.site/api\",\n    api_key = \"SECRET API KEY\",\n)\n\n\n# Enter a context with an instance of the API client\nwith IntelligentStockMarketAPI.ApiClient(configuration) as api_client:\n    # Create an instance of the API class\n    api_instance = IntelligentStockMarketAPI.FinancialNewsApi(api_client)\n    stock_code = 'stock_code_example' # str | \n\n    try:\n        api_response = api_instance.v1_news_articles_by_ticker_stock_code_get(stock_code)\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling FinancialNewsApi->v1_news_articles_by_ticker_stock_code_get: %s\\n\" % e)\n```\n\n\n## Documentation for API Endpoints\n\nAll URIs are relative to *https://gateway.eod-stock-api.site/api*\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "An Intelligent EOD Stock Market, Financial News & Financial Social Media Trends API",
    "version": "0.0.6",
    "split_keywords": [
        "openapi",
        "intelligent eod stock market api",
        "eod stock api",
        "financial news api",
        "financial social media trends"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d37a0e43fafd338ca7ffd1aace816694a6b62ab6e352cf2f764056403e3a20f1",
                "md5": "dab1c6fc9f722a2a0ac5a4bfb971fa77",
                "sha256": "0d3cb66f751d1041a6050598856b1aecf41caedd3ed85984fdf9954160337b7f"
            },
            "downloads": -1,
            "filename": "Intelligent_Stock_Market_API-0.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dab1c6fc9f722a2a0ac5a4bfb971fa77",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 160805,
            "upload_time": "2023-04-02T16:52:15",
            "upload_time_iso_8601": "2023-04-02T16:52:15.043176Z",
            "url": "https://files.pythonhosted.org/packages/d3/7a/0e43fafd338ca7ffd1aace816694a6b62ab6e352cf2f764056403e3a20f1/Intelligent_Stock_Market_API-0.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-02 16:52:15",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "intelligent-stock-market-api"
}
        
Elapsed time: 0.06486s