rakuten_product_api 0.3.0 → 0.4.0
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/Gemfile.lock +10 -10
- data/README.md +2 -2
- data/lib/rakuten_product_api/version.rb +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: 82e765f3353c7a0a785e795fa44ffa8fcaca37f6e1532c457b2a95e538ff518b
|
|
4
|
+
data.tar.gz: ba659b4e951084bab6facf192dba6d8fdebb1cdcc767790067248bf18f83a2ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ef1989ffcee1516c2166caa8e580b224c7984be2687ecc8d843e4261dc0cc6277042557edd16c022dc39978d5fc88173514c884d71afebd8ab1e85d6885e193
|
|
7
|
+
data.tar.gz: 6675ea367f751f57c841e0915b997d93198ba1f487660610fe80e218c5f582bced1d58731c4d653884b7461ac0369cc190536348bf95f77c20eade8fe103e689
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rakuten_product_api (0.
|
|
4
|
+
rakuten_product_api (0.3.0)
|
|
5
5
|
nokogiri (~> 1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -10,29 +10,29 @@ GEM
|
|
|
10
10
|
ast (2.4.2)
|
|
11
11
|
byebug (11.1.3)
|
|
12
12
|
minitest (5.14.4)
|
|
13
|
-
nokogiri (1.
|
|
13
|
+
nokogiri (1.12.5-x86_64-darwin)
|
|
14
14
|
racc (~> 1.4)
|
|
15
|
-
parallel (1.
|
|
16
|
-
parser (3.0.
|
|
15
|
+
parallel (1.21.0)
|
|
16
|
+
parser (3.0.2.0)
|
|
17
17
|
ast (~> 2.4.1)
|
|
18
18
|
racc (1.5.2)
|
|
19
19
|
rainbow (3.0.0)
|
|
20
|
-
rake (13.0.
|
|
20
|
+
rake (13.0.6)
|
|
21
21
|
regexp_parser (2.1.1)
|
|
22
22
|
rexml (3.2.5)
|
|
23
|
-
rubocop (1.
|
|
23
|
+
rubocop (1.22.1)
|
|
24
24
|
parallel (~> 1.10)
|
|
25
25
|
parser (>= 3.0.0.0)
|
|
26
26
|
rainbow (>= 2.2.2, < 4.0)
|
|
27
27
|
regexp_parser (>= 1.8, < 3.0)
|
|
28
28
|
rexml
|
|
29
|
-
rubocop-ast (>= 1.
|
|
29
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
|
30
30
|
ruby-progressbar (~> 1.7)
|
|
31
31
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
32
|
-
rubocop-ast (1.
|
|
32
|
+
rubocop-ast (1.12.0)
|
|
33
33
|
parser (>= 3.0.1.1)
|
|
34
34
|
ruby-progressbar (1.11.0)
|
|
35
|
-
unicode-display_width (2.
|
|
35
|
+
unicode-display_width (2.1.0)
|
|
36
36
|
|
|
37
37
|
PLATFORMS
|
|
38
38
|
x86_64-darwin-20
|
|
@@ -45,4 +45,4 @@ DEPENDENCIES
|
|
|
45
45
|
rubocop (~> 1.7)
|
|
46
46
|
|
|
47
47
|
BUNDLED WITH
|
|
48
|
-
2.2.
|
|
48
|
+
2.2.24
|
data/README.md
CHANGED
|
@@ -45,7 +45,7 @@ Once you have configured the library, you can create a client.
|
|
|
45
45
|
client = RakutenProductApi::Client.new
|
|
46
46
|
|
|
47
47
|
client.username
|
|
48
|
-
=> "
|
|
48
|
+
=> "your-rakuten-username"
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
This client should be threadsafe. Configuration values are local to your instance.
|
|
@@ -68,7 +68,7 @@ client.access_token
|
|
|
68
68
|
## Querying
|
|
69
69
|
### Search for keywords:
|
|
70
70
|
|
|
71
|
-
You can specify which merchants to query by using `mid: 38131`
|
|
71
|
+
You can specify which merchants to query by using mid paramater. For example Kobo Australia would be: `mid: 38131`
|
|
72
72
|
|
|
73
73
|
```ruby
|
|
74
74
|
results = client.search(keyword: 'Murderbot', mid: 38131)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rakuten_product_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Milne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-10-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
84
84
|
- !ruby/object:Gem::Version
|
|
85
85
|
version: '0'
|
|
86
86
|
requirements: []
|
|
87
|
-
rubygems_version: 3.2.
|
|
87
|
+
rubygems_version: 3.2.22
|
|
88
88
|
signing_key:
|
|
89
89
|
specification_version: 4
|
|
90
90
|
summary: Client for Rakutenmarketing.com.
|