similarweb_rapidapi 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -15
- data/lib/similarweb_rapidapi/version.rb +1 -1
- data/similarweb_rapidapi.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2c0468f76e70ed29f2f7e5f94517038ea6cb2dca67248642fc9eb418d322ca4
|
4
|
+
data.tar.gz: f3fce8a07d4c0d8ed98b2f992ec38e470725afa601e8f0b5abbcb4ee3023b93a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e3f091824da7bb202c19271c5f558ac59ab89a6c6f838434bd717624c71cc2be4f988d15dfe38807ef74e921b92c0b05da9552119cb9077ca2f2900db433d06
|
7
|
+
data.tar.gz: bed00c6656cb2e04be11916113b5c4d294c7921352ea3d60b4987e42141d608b3ade8e805fc465a0985acf227d5b8d2ed36ac99f8efb3bffdb546978680712cb
|
data/README.md
CHANGED
@@ -37,24 +37,12 @@ bundle
|
|
37
37
|
|
38
38
|
## Usage
|
39
39
|
|
40
|
-
To start using this gem, you will first need to set up your API key:
|
41
|
-
|
42
|
-
```ruby
|
43
|
-
require 'similarweb_rapidapi'
|
44
|
-
|
45
|
-
SimilarwebRapidapi.configure do |config|
|
46
|
-
config.api_key = 'YOUR_SIMILAR_WEB_API_KEY'
|
47
|
-
end
|
48
|
-
```
|
49
|
-
|
50
|
-
Then, you can use the API methods like so:
|
51
|
-
|
52
40
|
```ruby
|
53
|
-
|
54
|
-
|
41
|
+
@api_client = SimilarwebRapidapi::ApiClient.new RAPIDAPI_KEY
|
42
|
+
response = @api_client.get_basic_data_from_domain("google.com")
|
55
43
|
```
|
56
44
|
|
57
|
-
|
45
|
+
See `spec/similarweb_rapidapi_spec.rb` for more methods and usage examples.
|
58
46
|
|
59
47
|
## License
|
60
48
|
|
data/similarweb_rapidapi.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "Gem provides simple methods for communicating with the SimilarWeb API"
|
12
12
|
spec.description = "Integrating with the SimilarWeb API becomes fast and convenient, enabling Ruby programmers to easily consume valuable website traffic statistics, rankings, competitive analysis, and much more."
|
13
|
-
spec.homepage = "https://
|
13
|
+
spec.homepage = "https://letsscrape.com/scrapers/similarweb-api/?src=ruby"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.required_ruby_version = ">= 2.6.0"
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: similarweb_rapidapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- letsscrape
|
@@ -57,11 +57,11 @@ files:
|
|
57
57
|
- lib/similarweb_rapidapi/version.rb
|
58
58
|
- sig/similarweb_rapidapi.rbs
|
59
59
|
- similarweb_rapidapi.gemspec
|
60
|
-
homepage: https://
|
60
|
+
homepage: https://letsscrape.com/scrapers/similarweb-api/?src=ruby
|
61
61
|
licenses:
|
62
62
|
- MIT
|
63
63
|
metadata:
|
64
|
-
homepage_uri: https://
|
64
|
+
homepage_uri: https://letsscrape.com/scrapers/similarweb-api/?src=ruby
|
65
65
|
source_code_uri: https://github.com/letsscrape/ruby_similarweb_rapidapi
|
66
66
|
post_install_message:
|
67
67
|
rdoc_options: []
|