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

wrapper-news-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wrapper-news-api

A Python package to fetch news from BBC, ABP News, and India Today

  • 0.6
  • PyPI
  • Socket score

Maintainers
1

🌍 NewsAPI - Fetch News from Multiple Sources with Ease 📰

PyPI Python Build Status

🔥 Overview

NewsAPI is a Python package that allows you to easily fetch the latest news articles from popular sources like BBC, ABP News, and India Today. Whether you're building a news aggregator or just looking for easy access to headlines, NewsAPI provides a simple interface to gather data with minimal setup.

Features:

  • 🌐 Fetch news from BBC, ABP News, and India Today.
  • 🔍 Optional keyword-based news search for bbc (e.g., "technology", "politics").
  • 🛠️ Simple API interface.
  • 📦 Lightweight and easy to integrate into your project.

🚀 Usage

Using NewsAPI to fetch news is super simple. Here’s a quick guide:

Fetch the Latest News from BBC:

from wrapper_news_api import NewsAPI

# Create an instance of the NewsAPI class
news_api = NewsAPI()

# Fetch news from BBC
bbc_news = news_api.bbc() #bbc(),abp(),india_today()

for article in bbc_news:
    print(f"Title: {article['title']}")
    print(f"Description: {article['description']}")
    print("---")

📦 Installation

Install the latest version from PyPI:

pip install wrapper_news_api

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