Add news API integration and related configurations
- Update .env.example to include NEWS_API_KEY configuration - Add newsapi-python dependency in pyproject.toml - Implement NewsAPI class for fetching news articles - Create Article model for structured news data - Add tests for NewsAPI functionality in test_news_api.py - Update pytest configuration to include news marker
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
###########################################################################
|
||||
###############################################################################
|
||||
# Configurazioni per i modelli di linguaggio
|
||||
###############################################################################
|
||||
|
||||
@@ -22,3 +22,10 @@ CRYPTOCOMPARE_API_KEY=
|
||||
# Binance API per Market Agent (alternativa)
|
||||
BINANCE_API_KEY=
|
||||
BINANCE_API_SECRET=
|
||||
|
||||
###############################################################################
|
||||
# Configurazioni per gli agenti di notizie
|
||||
###############################################################################
|
||||
# Ottenibile da: https://newsapi.org/docs
|
||||
NEWS_API_KEY=
|
||||
|
||||
|
||||
Reference in New Issue
Block a user