diff --git a/README.en.md b/README.en.md index 01d05ca..9f77fff 100644 --- a/README.en.md +++ b/README.en.md @@ -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). @@ -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: { @@ -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: @@ -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 diff --git a/README.md b/README.md index a964236..2dd4ea3 100644 --- a/README.md +++ b/README.md @@ -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/) を通してパッケージを入手することができます。 @@ -31,7 +31,7 @@ composer を入手します curl -s http://getcomposer.org/installer | php -あなたの開発プロジェクトのルートに composer.json を作成します。 +あなたの開発プロジェクトのルートディレクトリに composer.json を作成します。 { "require": { @@ -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ドキュメント