SimilarwebRapidapi

Welcome to SimilarWeb RapidApi, a gem for easy integration and handling with our SimilarWeb API which is published on RapidAPI.

This gem simplifies the process of integrating SimilarWeb's data into your Ruby applications, abstracting the direct API interaction through a set of user-friendly methods. We aim to let developers focus on what truly matters - creating innovative applications that make the most of the rich data provided by SimilarWeb.

Put your Ruby code in the file lib/similarweb_rapidapi. To experiment with that code, run bin/console for an interactive prompt.

Read more on main project page See on RapidAPI

How to get RAPID API key

  1. Register you account on RapidAPI https://rapidapi.com/auth/sign-up
  2. Go to https://bit.ly/3z3DInS and Subscribe to test
  3. After subscribing, please revisit https://bit.ly/3z3DInS to obtain your X-RapidAPI-Key.
  4. You will find X-RapidAPI-Key on the right side in the Code Snippets.

Installation

To install this gem onto your system, run:

gem install similarweb_rapidapi

To add this gem to your application's Gemfile:

gem 'similarweb_rapidapi'

And then execute:

bundle

Usage

@api_client = SimilarwebRapidapi::ApiClient.new RAPIDAPI_KEY
response = @api_client.get_basic_data_from_domain("google.com")

See spec/similarweb_rapidapi_spec.rb for more methods and usage examples.

License

The gem is available as open source under the terms of the MIT License.

Contact

If you have any questions or need further guidance, please don't hesitate to contact us at LetsScrape Support