dvargas92495 / SmartBlocks

Useful examples from developer community for Roam42 SmartBlocks
147 stars 7 forks source link

Get a random Stoic Quote from stoic-quotes.com #30

Open eurunuela opened 3 years ago

eurunuela commented 3 years ago

✂️ Copy of your #42SmartBlock from Roam

📋 Describe the SmartBlock

This SmartBlock calls the stoic-quotes.com API and returns a random quote in the following format:

"Stoic quote" by [[Author]]

✅ Describe any prerequisites or dependencies that are required for this SmartBlock

No dependencies needed.

📷 Screenshot of your #42SmartBlock workflow/template from Roam

image

💡 Additional Info

You can use it on your daily template for a daily stoic quote 😉

brandon-toner commented 3 years ago

Ou, grabs like this could help in systematically retrieving random content from online!

... just need to start identifying sources that can be scraped like this. View in Slack

TfTHacker commented 3 years ago

I wanted to do some demoing of other capabilities, so did a riff on this, but moved to a different issue since it illustrates other concepts.

https://github.com/roamhacker/SmartBlocks/issues/77