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 +4 -4
- data/README.md +3 -15
- data/lib/similarweb_rapidapi/version.rb +1 -1
- data/lib/similarweb_rapidapi.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: ecd78c5182a5bb82beeff5b92516b1f43307d88d1bdba79f390bcaad3fbd00c8
|
4
|
+
data.tar.gz: 2b2e0dda670a5804e1a5b88a1cec293958f059522c5dd563e3c2209f1ea74795
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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/lib/similarweb_rapidapi.rb
CHANGED