Perigon is a comprehensive news API that provides access to real-time contextual information in news articles, stories, metadata and wikipedia pages from thousands of sources worldwide.
Installation and Setup
Perigon
integration exists in its own partner package. You can install it with:
PERIGON_API_KEY
environment variable to your Perigon API key.
Retrievers
Perigon provides two retrievers:ArticlesRetriever
This retriever retrieves articles based on a given query and optional filters. See a full usage example.ArticlesRetriever
in a standard retrieval pipeline:
WikipediaRetriever
This retriever retrieves wikipedia pages based on a given query and optional filters. See a full usage example.WikipediaRetriever
in a standard retrieval pipeline: