similarweb_rapidapi 0.1.1 → 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
- metadata +1 -1
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
|
|