Skip to main content

Moneycontrol API is a python library to get news data from moneycontrol.com in JSON format.

Project description

MoneyControl Api

Status of project: Complete

Author: Arabian Coconut

Version: 1.1.1


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

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

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

{
  "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"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moneycontrol_api-1.1.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

moneycontrol_api-1.1.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page