scraperapi 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.idea/workspace.xml +2 -1
- data/README.md +5 -22
- data/lib/scraperapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a74dc54b7e6d5a6e2f8dc46983266d28e1e70ed5e7cd465c198bffebfdb72b34
|
|
4
|
+
data.tar.gz: 07a4b91befa7a614bff36b28aded057f7bd4bb3bbef7b60e378d94a76eb07ace
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c15b6c08c0c6eb46e813962ec92092a9a72c67a9e9a5d6720021ff3aefe824a40f341678aeb303773d5a0e01787b89f68e0f91b499ec2268b5f24aa4230e642
|
|
7
|
+
data.tar.gz: 426d98c95da26feb17819694f8c88ba4259affe496da4d41654d9eca912a6b1693e2860bc1759fd276de39cc4239539c0c7656d070f110e2e93a857b74981570
|
data/.idea/workspace.xml
CHANGED
|
@@ -214,7 +214,8 @@
|
|
|
214
214
|
<workItem from="1579805328445" duration="106000" />
|
|
215
215
|
<workItem from="1579805474675" duration="969000" />
|
|
216
216
|
<workItem from="1579963914430" duration="1068000" />
|
|
217
|
-
<workItem from="1580074273123" duration="
|
|
217
|
+
<workItem from="1580074273123" duration="1181000" />
|
|
218
|
+
<workItem from="1580782895359" duration="76000" />
|
|
218
219
|
</task>
|
|
219
220
|
<servers />
|
|
220
221
|
</component>
|
data/README.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
# Scraperapi
|
|
2
|
-
|
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/scraperapi`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
|
-
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
6
|
-
|
|
7
1
|
## Installation
|
|
8
2
|
|
|
9
3
|
Add this line to your application's Gemfile:
|
|
@@ -21,19 +15,8 @@ Or install it yourself as:
|
|
|
21
15
|
$ gem install scraperapi
|
|
22
16
|
|
|
23
17
|
## Usage
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
|
-
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
32
|
-
|
|
33
|
-
## Contributing
|
|
34
|
-
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/scraperapi.
|
|
36
|
-
|
|
37
|
-
## License
|
|
38
|
-
|
|
39
|
-
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
18
|
+
```ruby
|
|
19
|
+
require "scraper_api"
|
|
20
|
+
client = ScraperAPI::Client.new("b2b93816137cae0f4679b5253c3dcfd8")
|
|
21
|
+
client.get("https://google.com")
|
|
22
|
+
```
|
data/lib/scraperapi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scraperapi
|
|
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
|
- Scraper Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-02-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|