News Digest
A dated digest of the top N news briefs with sentiment, clout, and impacted coins, ready for email or RSS.
// The Problem
What this recipe solves
Staying on top of crypto news means scanning dozens of sources. This script pulls the top briefs from Guavy's curated feed in one call and formats them for email, Slack, or RSS.
// The Script
Copy, run, ship
Drop this script into your project and run it locally or on a
cron. Set GUAVY_KEY in your
environment, swap the symbols, and go.
# digest.py
import os, requests
API = "https://guavy.com/api/v1"
H = {"Authorization": f"Bearer {os.environ['GUAVY_KEY']}"}
SYMBOLS = ["BTC", "ETH", "SOL"]
for sym in SYMBOLS:
briefs = requests.get(
f"{API}/newsroom/get-recent-briefs/{sym}",
headers=H,
params={"limit": 3}
).json()["briefs"]
for b in briefs:
print(f"- [{b['tone']}] {b['title']}")
print(f" coins: {', '.join(b.get('symbols', []))}")
// Guavy Tools in Play
1 tool, one script
This script calls 1 endpoint from the Guavy REST API. Every data point maps back to the endpoint it came from.
// Sample Output
What your agent returns
Real output from a real run. Every section cites the Guavy tool that produced it.
- [neutral] Saylor: 100 Million People Now Indirectly Own Bitcoin Through Strategy Stock coins: BTC, crypto - [formal] JP Morgan Warns Retail Holders of Strategy's STRC Face Deepening Losses coins: BTC - [neutral] Bitcoin Plunges to 2024 Lows Amid Regulatory Uncertainty coins: BTC, NFP, crypto
// Keep Exploring
Related recipes
Same API key, different job-to-be-done.
// Get started
Run this recipe in under 2 minutes
Grab a free API key, set it as an env var, and run the script. Free sandbox forever.