Skip to content

tmsanrinsha/amazon-json-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amazon-json-api

ASINで商品情報を引っ張ってきて、JSONで返すAPI。

Usage

$ git clone https://github.com/tmsanrinsha/amazon-json-api.git
$ cd amazon-json-api
$ composer install

src/settings_secret.phpに設定を書く。

<?php
return [
    'AWSAccessKeyId' => '****',
    'AWSSecretKey' => '****',
    'AWSAssociateTag' => '****',
];
$ php -S 0.0.0.0:8080 -t public public/index.php
$ curl 'http://0.0.0.0:8080/asin/B01MU9MB8Y'

blog

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published