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']}"}
r = requests.get(
f"{API}/newsroom/get-recent-briefs",
headers=H,
params={"limit": 5}
).json()
for b in r["briefs"]:
print(f"- [{b['tone']}] {b['title']}")
print(f" coins: {', '.join(b.get('impacted_coins', []))}")
// 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.
// 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.