Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

moneycontrol-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moneycontrol-api

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

  • 1.1.4
  • PyPI
  • Socket score

Maintainers
1

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

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

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc