# MoneyControl Api
### Status of project: **Complete**
#### Author: Arabian Coconut
#### Docker Version: 1.1.4
#### Local Version: 1.1.3
---
## Description
This is a python API for moneycontrol.com, which provides you with the news, latest news, and
business news from moneycontrol.com in JSON format for your server's integration.
## How to use api
```shell
wget https://mc-api-j0rn.onrender.com/api/news
wget https://mc-api-j0rn.onrender.com/api/latest_news
wget https://mc-api-j0rn.onrender.com/api/business_news
wget https://mc-api-j0rn.onrender.com/api/list
```
### Installation for local implementation
`pip install moneycontrol-api`
### Usage for local implementation
`from moneycontrol import moneycontrol_api as mc`
### Supported API functions
* get_news
* get_latest_news
* get_business_news
### Output format
``` json
{
"News Type:": "Latest News",
"Title:": "Chhattisgarh CM transfers Rs 15 crore online to beneficiaries as part of Godhan Nyay Yojana",
"Link:": "https://www.moneycontrol.com/news/india/chhattisgarh-cm-transfers-rs-15-crore-online-to-beneficiaries-as-part-of-godhan-nyay-yojana-11103381.html",
"Date:": "August 05, 2023 05:08 PM"
}
```
---
## Changelog
* 1.1.4
* Added LRU cache to reduce load on server
* Added json storage for viewing all requests made to server via /api/list for online demo implementation.
* **Note**: Only Docker implementation is updated with this version for local implementation please use 1.1.3 from master branch.
Raw data
{
"_id": null,
"home_page": "",
"name": "moneycontrol-api",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "moneycontrol api,moneycontrol",
"author": "",
"author_email": "Arabian Coconut <x48cl9zm@duck.com>",
"download_url": "https://files.pythonhosted.org/packages/ce/0f/04b11720154d7ca472cd801a4cc69223825d73d9b92d6cff396c5fea8099/moneycontrol_api-1.1.4.tar.gz",
"platform": null,
"description": "\n# MoneyControl Api\n### Status of project: **Complete**\n#### Author: Arabian Coconut\n#### Docker Version: 1.1.4\n#### Local Version: 1.1.3\n\n---\n## Description\n\nThis is a python API for moneycontrol.com, which provides you with the news, latest news, and \nbusiness news from moneycontrol.com in JSON format for your server's integration.\n\n## How to use api\n```shell\nwget https://mc-api-j0rn.onrender.com/api/news \nwget https://mc-api-j0rn.onrender.com/api/latest_news\nwget https://mc-api-j0rn.onrender.com/api/business_news\nwget https://mc-api-j0rn.onrender.com/api/list\n ```\n### Installation for local implementation\n\n`pip install moneycontrol-api`\n\n### Usage for local implementation\n\n`from moneycontrol import moneycontrol_api as mc`\n\n### Supported API functions\n\n* get_news\n\n* get_latest_news\n\n* get_business_news\n\n### Output format\n\n``` json\n{\n \"News Type:\": \"Latest News\",\n \"Title:\": \"Chhattisgarh CM transfers Rs 15 crore online to beneficiaries as part of Godhan Nyay Yojana\",\n \"Link:\": \"https://www.moneycontrol.com/news/india/chhattisgarh-cm-transfers-rs-15-crore-online-to-beneficiaries-as-part-of-godhan-nyay-yojana-11103381.html\",\n \"Date:\": \"August 05, 2023 05:08 PM\"\n}\n```\n---\n## Changelog\n* 1.1.4\n * Added LRU cache to reduce load on server\n * Added json storage for viewing all requests made to server via /api/list for online demo implementation.\n * **Note**: Only Docker implementation is updated with this version for local implementation please use 1.1.3 from master branch.\n",
"bugtrack_url": null,
"license": "",
"summary": "Moneycontrol API is a python library to get news data from moneycontrol.com in JSON format.",
"version": "1.1.4",
"project_urls": {
"Homepage": "https://github.com/ArabianCoconut/Moneycontrol-api",
"Live Demo": "https://mc-api-j0rn.onrender.com"
},
"split_keywords": [
"moneycontrol api",
"moneycontrol"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "94a9aeccd19a18448ac01cbbb0ae9a6abe8698592dc018af523e491dc759282a",
"md5": "8648a4d37d4b294a948332064de2ab43",
"sha256": "e0cb618b56fbd0bc57309c6f0e338e844359dfcbf7a9679058fffa6a58ffabc7"
},
"downloads": -1,
"filename": "moneycontrol_api-1.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8648a4d37d4b294a948332064de2ab43",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 4223,
"upload_time": "2023-08-12T08:55:29",
"upload_time_iso_8601": "2023-08-12T08:55:29.611925Z",
"url": "https://files.pythonhosted.org/packages/94/a9/aeccd19a18448ac01cbbb0ae9a6abe8698592dc018af523e491dc759282a/moneycontrol_api-1.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ce0f04b11720154d7ca472cd801a4cc69223825d73d9b92d6cff396c5fea8099",
"md5": "91e17a69dca54fa0642f7f27950fda5e",
"sha256": "aabae335b8853084091c9a55adf18e6db1599f6d2359154647ea5caeb56cb16c"
},
"downloads": -1,
"filename": "moneycontrol_api-1.1.4.tar.gz",
"has_sig": false,
"md5_digest": "91e17a69dca54fa0642f7f27950fda5e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 3746,
"upload_time": "2023-08-12T08:55:30",
"upload_time_iso_8601": "2023-08-12T08:55:30.554873Z",
"url": "https://files.pythonhosted.org/packages/ce/0f/04b11720154d7ca472cd801a4cc69223825d73d9b92d6cff396c5fea8099/moneycontrol_api-1.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-12 08:55:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ArabianCoconut",
"github_project": "Moneycontrol-api",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "beautifulsoup4",
"specs": [
[
"==",
"4.12.2"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "flask",
"specs": [
[
"==",
"2.3.2"
]
]
}
],
"lcname": "moneycontrol-api"
}