Ansa Library for Ruby

Read news from Ansa 🗞

Gem Version Build Status codecov

Install

Add to your Gemfile

gem 'ansa'

Examples

Get all the news about soccer

news = Ansa::get_soccer_news()
p news[0].title

You can also use get_news method, specifying the category you want

news = Ansa::get_news(Ansa::SOCCER)

For more see the documentation.