Newsblurry
Description
Connect to Newsblur API using Ruby
Installation
Add this line to your Gemfile
gem 'newsblurry'
And then:
bundle
Usage
Create a new agent with your username and password. Use the agent to retrieve your unread stories or mark a story as read.
agent = Newsblurry::Agent.new(username, password)
Return all unread stories for account
unread_stories = agent.unread_stories
Agent.unread_stories
does not fetch the story content by default but you can override this by setting the include_story_content
option to true
.
unread_stories = agent.unread_stories(include_story_content: true)
Mark a story as read
agent.mark_as_read(newsblurry_story_hash)
License
Released under the MIT License