Skip to content

Instantly share code, notes, and snippets.

@erichare
Last active June 23, 2022 13:28
Show Gist options
  • Save erichare/cfe411c6f0401d5e01392eb49c7ddf38 to your computer and use it in GitHub Desktop.
Save erichare/cfe411c6f0401d5e01392eb49c7ddf38 to your computer and use it in GitHub Desktop.
> gn_daisi <- Daisi("GoogleNews")
[1] "Looking for Daisi: GoogleNews"
[1] "https://app.daisi.io/pebble-api/daisies/connect?name=GoogleNews"
> gn_execution <- gn_daisi$get_news(query = "Apple", num = 6)
[1] "Executing Daisi: 4cc93acc-ac2d-4c3b-aeac-f67e96a5c658"
> gn_execution$value()[,1:3]
[1] "Fetching Result: b76e037a-7c7b-4c2f-8a22-cf561ca398aa"
title desc
1 Apple retailer Simply Mac is shutting down bookmark_border
2 Apple's Sales of Macs, Other Hardware May Be Slowing. Its Stock Is Dropping. bookmark_border
3 Apple's 'Pay Later' Is the Latest Plea for Your Loyalty bookmark_border
4 Apple and Major League Baseball announce July "Friday Night Baseball" schedule bookmark_border
5 Apple issues rare AirPods developer beta firmware bookmark_border
6 Apple's 2023 CarPlay is an Apple Car preview - and is scaring Detroit bookmark_border
date
1 3 hours ago
2 3 hours ago
3 6 hours ago
4 2 hours ago
5 5 hours ago
6 2 hours ago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment