from metalworks import Metalworks
mw = Metalworks() # provider inferred from the env key
research = mw.research(
"an affordable, jitter-free focus supplement for developers",
subreddits=["Nootropics", "Supplements"], # omit to let it pick
)
report = research.demand
print(report.demand_summary) # the demand-strength summary
for cluster in report.ranked_clusters:
print(cluster.claim, "—", cluster.distinct_author_count, "people")
for quote in cluster.quotes: # the real comments behind it
print(" ", quote.source_url, "→", quote.text[:80])