Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
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.
Using NewsAPI to fetch news is super simple. Here’s a quick guide:
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("---")
Install the latest version from PyPI:
pip install wrapper_news_api
FAQs
A Python package to fetch news from BBC, ABP News, and India Today
We found that wrapper-news-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.