Skip to content

Commit ae8c51c

Browse files
authored
Merge pull request #150 from sugi/transit-to-2026-version
Transit to 2026 version
2 parents acc7c88 + 91ac7e7 commit ae8c51c

57 files changed

Lines changed: 214 additions & 62 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.ja.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ gem install rakuten_web_service
5151
# (必須) アプリケーションID
5252
c.application_id = 'YOUR_APPLICATION_ID'
5353

54+
# (必須) アクセスキー
55+
# 注意: セキュリティ上の理由から、この値はシークレットマネージャーまたは環境変数から取得することを推奨します。
56+
c.access_key = 'YOUR_ACCESS_KEY'
57+
5458
# (任意) 楽天アフィリエイトID
5559
c.affiliate_id = 'YOUR_AFFILIATE_ID' # default: nil
5660

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ At first, you have to specify your application's key. And you can tell the clien
7272
# (Required) Appliction ID for your application.
7373
c.application_id = 'YOUR_APPLICATION_ID'
7474

75+
# (Required) Access key
76+
# Note: For security purposes, we recommend retrieving this value from a secrets manager or environment variable.
77+
c.access_key = 'YOUR_ACCESS_KEY'
78+
7579
# (Optional) Affiliate ID for your Rakuten account.
7680
c.affiliate_id = 'YOUR_AFFILIATE_ID' # default: nil
7781

lib/rakuten_web_service/books/book.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
module RakutenWebService
66
module Books
77
class Book < Books::Resource
8-
endpoint 'https://app.rakuten.co.jp/services/api/BooksBook/Search/20170404'
98

9+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksBook/Search/20170404'
1010
attribute :title, :titleKana, :subTitle, :subTitleKana,
1111
:seriesName, :seriesNameKana,
1212
:contents, :contentsKana,

lib/rakuten_web_service/books/cd.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RakutenWebService
66
module Books
77
class CD < Books::Resource
8-
endpoint 'https://app.rakuten.co.jp/services/api/BooksCD/Search/20170404'
8+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksCD/Search/20170404'
99

1010
attribute :title, :titleKana, :artistName, :artistNameKana,
1111
:label, :jan, :makerCode,

lib/rakuten_web_service/books/dvd.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RakutenWebService
66
module Books
77
class DVD < Books::Resource
8-
endpoint 'https://app.rakuten.co.jp/services/api/BooksDVD/Search/20170404'
8+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksDVD/Search/20170404'
99

1010
attribute :title, :titleKana, :artistName, :artistNameKana,
1111
:label, :jan, :makerCode,

lib/rakuten_web_service/books/foreign_book.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RakutenWebService
66
module Books
77
class ForeignBook < Books::Resource
8-
endpoint 'https://app.rakuten.co.jp/services/api/BooksForeignBook/Search/20170404'
8+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksForeignBook/Search/20170404'
99

1010
attribute :title, :titleKana, :japaneseTitle,
1111
:author, :authorKana,

lib/rakuten_web_service/books/game.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RakutenWebService
66
module Books
77
class Game < Books::Resource
8-
endpoint 'https://app.rakuten.co.jp/services/api/BooksGame/Search/20170404'
8+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksGame/Search/20170404'
99

1010
attribute :title, :titleKana, :hardware, :jan, :makerCode,
1111
:itemCaption,

lib/rakuten_web_service/books/genre.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Books
77
class Genre < RakutenWebService::BaseGenre
88
self.resource_name = 'books_genre'
99

10-
endpoint 'https://app.rakuten.co.jp/services/api/BooksGenre/Search/20121128'
10+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksGenre/Search/20121128'
1111

1212
attribute :booksGenreId, :booksGenreName, :genreLevel, :itemCount
1313

lib/rakuten_web_service/books/magazine.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RakutenWebService
66
module Books
77
class Magazine < Books::Resource
8-
endpoint 'https://app.rakuten.co.jp/services/api/BooksMagazine/Search/20170404'
8+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksMagazine/Search/20170404'
99

1010
attribute :title, :titleKana, :publisherName, :jan,
1111
:itemCaption,

lib/rakuten_web_service/books/software.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RakutenWebService
66
module Books
77
class Software < Books::Resource
8-
endpoint 'https://app.rakuten.co.jp/services/api/BooksSoftware/Search/20170404'
8+
endpoint 'https://openapi.rakuten.co.jp/services/api/BooksSoftware/Search/20170404'
99

1010
attribute :title, :titleKana, :os, :jan, :makerCode,
1111
:itemCaption,

0 commit comments

Comments
 (0)