similarweb_rapidapi 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b528b61f45d4014bc20ec7370800952cc08c295847ef524550bb80adfdf40193
4
- data.tar.gz: 4f575eab0486ec20226b3a1dd218cd1065e63a09505e4b442eb9b7181e1a5998
3
+ metadata.gz: ecd78c5182a5bb82beeff5b92516b1f43307d88d1bdba79f390bcaad3fbd00c8
4
+ data.tar.gz: 2b2e0dda670a5804e1a5b88a1cec293958f059522c5dd563e3c2209f1ea74795
5
5
  SHA512:
6
- metadata.gz: 10a358f73c2eeb5823314531f5000676d5d2e811b9082cd635497baa2ded84a252538e892aac880d873d78410b3242ca874f7e22976a2bbb84322660f61a2abc
7
- data.tar.gz: 51a40f58bb7c96b69c9b891ef89f3021bb37fac31bbdf3e1f466d7bee2f0fbc3ed0a353357dd127b586784ab31697239ee6cafd56a78605161abda2911387d9b
6
+ metadata.gz: 8bf10a45b1eb9e51ff100c1369d52f7b0eb323cc249e5e55e3931b667aaf0b7ac72b435cdc46e59b82cc0178ae25c8da97becf199066e61c56f3abed8b394f8a
7
+ data.tar.gz: df4946e00c9b373065863b867ca84f869021952ce742815a87ee3b71d5b384494f5bbe1c89100b1a61c9145f1618c9b1214e4c03d309a17f7e1684d9fb6a68fd
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
- result = SimilarwebRapidapi.get_website_overview('example.com')
54
- puts result
41
+ @api_client = SimilarwebRapidapi::ApiClient.new RAPIDAPI_KEY
42
+ response = @api_client.get_basic_data_from_domain("google.com")
55
43
  ```
56
44
 
57
- More methods and usage examples will be available in our [Wiki](LINK_TO_YOUR_WIKI).
45
+ See `spec/similarweb_rapidapi_spec.rb` for more methods and usage examples.
58
46
 
59
47
  ## License
60
48
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimilarwebRapidapi
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
@@ -71,7 +71,7 @@ module SimilarwebRapidapi
71
71
  response
72
72
  end
73
73
 
74
- def get_additional_data_form_domain(domain)
74
+ def get_additional_data_from_domain(domain)
75
75
  path = "/similarweb/GetAdditionalDomainData?domain=#{domain}"
76
76
  response = get_request(path)
77
77
  response
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.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - letsscrape