Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix readme #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 29 additions & 29 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Download
You can download SDK from following links.

- [Stable 1.1.0 - zip](https://github.com/rakuten-ws/rws-php-sdk/archive/1.1.0.zip)
- [Source Code (Github)](https://github.com/rakuten-ws/rws-php-sdk)
- [Source Code (GitHub)](https://github.com/rakuten-ws/rws-php-sdk)

RWS PHP SDK is registered at [Packagist](http://packagist.org/).
Therefore, you can get and manage the library with [Composer](http://getcomposer.org).
Expand All @@ -27,7 +27,7 @@ Get composer

curl -s http://getcomposer.org/installer | php

Create *composer.json* file in the project root:
Create *composer.json* file in the project's root directory:


{
Expand Down Expand Up @@ -80,37 +80,37 @@ if ($response->isOk()) {
```
You can pass "API Name (string)", "Request Paramters (array)", and
"version" to *RakutenRws_Client::execute()* method.
"version" is an optional parameter. If you don't specify the "version" then the library will
"version" is an optional parameter. If you don't specify the "version" then the library will
auotmatically select the latest version.

The following APIs support [Iterator (http://php.net/manual/en/class.iterator.php)],
so you can access each item's data with a foreach statement.

* AuctionGenreKeywordSearch
* AuctionItemCodeSearch
* AuctionItemSearch
* BooksBookSearch
* BooksCDSearch
* BooksDVDSearch
* BooksForeignBookSearch
* BooksGameSearch
* BooksMagazineSearch
* BooksSoftwareSearch
* BooksTotalSearch
* FavoriteBookmarkList
* GoraGolfCourseDetail
* GoraGolfCourseSearch
* GoraPlanSearch
* HighCommissionShopList
* IchibaItemRanking
* IchibaItemSearch
* KoboEbookSearch
* ProductSearch
* RecipeCategoryRanking
* TravelHotelDetailSearch
* TravelKeywordHotelSearch
* TravelSimpleHotelSearch
* TravelVacantHotelSearch
- AuctionGenreKeywordSearch
- AuctionItemCodeSearch
- AuctionItemSearch
- BooksBookSearch
- BooksCDSearch
- BooksDVDSearch
- BooksForeignBookSearch
- BooksGameSearch
- BooksMagazineSearch
- BooksSoftwareSearch
- BooksTotalSearch
- FavoriteBookmarkList
- GoraGolfCourseDetail
- GoraGolfCourseSearch
- GoraPlanSearch
- HighCommissionShopList
- IchibaItemRanking
- IchibaItemSearch
- KoboEbookSearch
- ProductSearch
- RecipeCategoryRanking
- TravelHotelDetailSearch
- TravelKeywordHotelSearch
- TravelSimpleHotelSearch
- TravelVacantHotelSearch

Example:

Expand Down Expand Up @@ -228,7 +228,7 @@ $response = $client->execute('ItemSearch', array(
Sample Code
-----------

- There is sample code in the [sample] (https://github.com/rakuten-ws/rws-php-sdk/tree/master/sample) directory.
- There is sample code in the [sample](https://github.com/rakuten-ws/rws-php-sdk/tree/master/sample) directory.
- Please rename *config.php.sample* and set Application ID, Application Secret and Affiliate ID.

Official API Document
Expand Down
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Rakuten Web Service SDK for PHP は、PHPアプリケーションから
以下からSDKをダウンロードすることができます。

- [最新版 1.1.0 - zipアーカイブ](https://github.com/rakuten-ws/rws-php-sdk/archive/1.1.0.zip)
- [ソースコード (Github)](https://github.com/rakuten-ws/rws-php-sdk)
- [ソースコード (GitHub)](https://github.com/rakuten-ws/rws-php-sdk)

また、RWS PHP SDK は、[Packagist](http://packagist.org/) にパッケージ登録を行っています。
そのため、 [Composer](http://getcomposer.org/) を通してパッケージを入手することができます。
Expand All @@ -31,7 +31,7 @@ composer を入手します

curl -s http://getcomposer.org/installer | php

あなたの開発プロジェクトのルートに composer.json を作成します。
あなたの開発プロジェクトのルートディレクトリに composer.json を作成します。

{
"require": {
Expand Down Expand Up @@ -233,28 +233,28 @@ $response = $client->execute('IchibaItemSearch', array(

代わりに、新バージョン・統合されたバージョンを利用することができます。

* ItemSearch (IchibaItemSearch が利用できます)
* ItemCodeSearch (IchibaItemSearch が利用できます)
* ItemRanking (IchibaItemRanking が利用できます)
* ProductDetail (ProductSearch が利用できます)
* ProductGenreInfo (ProductSearch が利用できます)
* ProductMakerInfo
* GetAreaClass (TravelGetAreaClass が利用できます)
* GetHotelChainList (TravelGetHoralChainList が利用できます)
* HotelDetailSearch (TravelHotelDetailSearch が利用できます)
* HotelRanking (TravelHotelRanking が利用できます)
* KeywordHotelSearch (TravelHotelSearch が利用できます)
* SimpleHotelSearch (TravelSimpleHotelSearch が利用できます)
* VacantHotelSearch (TravelVacantHotelSearch が利用できます)
* GoraGolfCourseSearch (GoraGoraGolfCourseSearch が利用できます)
* GoraGolfCourseDetail (GoraGoraGolfCourseDetail が利用できます)
* GoraPlanSearch (GoraGoraPlanSearch が利用できます)
* HighCommissionShop (HighCommissionShopList が利用できます)
- ItemSearch (IchibaItemSearch が利用できます)
- ItemCodeSearch (IchibaItemSearch が利用できます)
- ItemRanking (IchibaItemRanking が利用できます)
- ProductDetail (ProductSearch が利用できます)
- ProductGenreInfo (ProductSearch が利用できます)
- ProductMakerInfo
- GetAreaClass (TravelGetAreaClass が利用できます)
- GetHotelChainList (TravelGetHoralChainList が利用できます)
- HotelDetailSearch (TravelHotelDetailSearch が利用できます)
- HotelRanking (TravelHotelRanking が利用できます)
- KeywordHotelSearch (TravelHotelSearch が利用できます)
- SimpleHotelSearch (TravelSimpleHotelSearch が利用できます)
- VacantHotelSearch (TravelVacantHotelSearch が利用できます)
- GoraGolfCourseSearch (GoraGoraGolfCourseSearch が利用できます)
- GoraGolfCourseDetail (GoraGoraGolfCourseDetail が利用できます)
- GoraPlanSearch (GoraGoraPlanSearch が利用できます)
- HighCommissionShop (HighCommissionShopList が利用できます)

サンプルコード
-------------

- [sample] (https://github.com/rakuten-ws/rws-php-sdk/tree/master/sample) ディレクトリにサンプルを用意しています。
- [sample](https://github.com/rakuten-ws/rws-php-sdk/tree/master/sample) ディレクトリにサンプルを用意しています。
- config.php.sample を config.php にリネームし、アプリID, application_secret をセットすることで動作します。

公開APIドキュメント
Expand Down