Rubygems

Hawker gem – get the profile information from Github, Twitter or Instagram without the API

Hawker gem – get the profile information from Github, Twitter or Instagram without the API April 20, 2018

Have you ever tried to pull the information from the social profile using given URL? Configuring the API access may be a time-consuming and difficult thing to do. On the other hand, scraping a profile may be not as easy as it seems to be. To solve that kind of problems I created the Hawker gem. For now, it supports Github, Twitter, and Instagram. You check it on https://github.com/rubyhero/hawker.

The gem is using the RestClient and Nokogiri gems. It’s nothing complicated but a nice place to start. I plan to add the support for other social media providers.

I mentioned this in the documentation already but it’s worth to say it again: if you have the API access it’s always better to use it. Web scraping is always slower and less stable solution.

If you have any suggestions, feel free to open a new issue on the Github repo page!

Download free RSpec & TDD ebook

Do you want to earn more or jump to the next level in your company? Do you know that testing skills are one of the most desired skills? There is only first step: start testing and do it right. My ebook can help you. Subscribe to the newsletter to get a free copy of the book.