Skip to content

Instantly share code, notes, and snippets.

@nobodyplace
nobodyplace / rms_api_sample.php
Last active June 14, 2021 08:21
楽天 RMS API Sample
require_once 'HTTP/Client.php';
$client = new HTTP_Client(null, array(
'Authorization' => 'ESA ' . base64_encode(/* serviceSecret */ . ':' . /* licenseKey */)
));
$client->get(
'https://api.rms.rakuten.co.jp/es/1.0/item/get',
array(
'itemUrl' => $itemUrl
)