\ACMS_Services_Amazon

Summary

Methods
Properties
Constants
loadOAuthToken()
insertOAuthToken()
deleteOAuthToken()
__construct()
getAsinFromUrl()
isValid()
amazonItemLookup()
validXML()
getRequestParameter()
getRequestURI()
urlencodeRfc3986()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$accessKeyId
$secretAccessKey
$associateTag
$baseUrl
$apiVersion
N/A

Properties

$accessKeyId

$accessKeyId : 

Type

$secretAccessKey

$secretAccessKey : 

Type

$associateTag

$associateTag : 

Type

$baseUrl

$baseUrl : 

Type

$apiVersion

$apiVersion : 

Type

Methods

loadOAuthToken()

loadOAuthToken(  $bid,   $type = 'all',   $service) 

Parameters

$bid
$type
$service

insertOAuthToken()

insertOAuthToken(  $bid,   $token,   $secret,   $type,   $service) 

Parameters

$bid
$token
$secret
$type
$service

deleteOAuthToken()

deleteOAuthToken(  $bid,   $type = 'all',   $service) 

Parameters

$bid
$type
$service

__construct()

__construct(  $tracking_id,   $access_key,   $secret_key) 

Parameters

$tracking_id
$access_key
$secret_key

getAsinFromUrl()

getAsinFromUrl(string  $url) : string

amazon 商品詳細ページのURLからASINを取得

Parameters

string $url

Returns

string

isValid()

isValid() : \$boolean

検証

Returns

\$boolean

amazonItemLookup()

amazonItemLookup(string  $id) : array

商品情報の取得

Parameters

string $id

Returns

array

validXML()

validXML(string  $uri) : boolean

XMLの検証

Parameters

string $uri

Returns

boolean

getRequestParameter()

getRequestParameter(string  $id) : array

リクエストパラメータを組み立て

Parameters

string $id

Returns

array

getRequestURI()

getRequestURI(  $params) : string

リクエストURIを取得

Parameters

$params

Returns

string

urlencodeRfc3986()

urlencodeRfc3986(string  $str) : string

RFC3986エンコードを行う

Parameters

string $str

Returns

string