エンドポイント
GET https://api.dmm.com/affiliate/v3/ActressSearch
リクエストURL例
https://api.dmm.com/affiliate/v3/ActressSearch?api_id=[APIID]&affiliate_id=[アフィリエイトID]&keyword=%e3%81%82%e3%81%95%e3%81%bf>e_bust=90<e_waist=60&sort=-bust&hits=10&offset=10&output=json
リクエストパラメータ
api_id必須登録時に割り振られたID
api_id=YOUR_API_IDaffiliate_id必須APIリクエスト専用のアフィリエイトID(末尾990~999)。※商品リンク作成時は通常のアフィリエイトIDをご利用ください
affiliate_id=affiliate-990initial任意50音をUTF-8で指定
initial=あactress_id任意女優ID
actress_id=15365keyword任意UTF-8で指定
keyword=あさみgte_bust任意gte_bust=90ならバスト90cm以上、
lte_bust=90ならバスト90cm以下
gte_bust=90<e_bust=100なら
バスト90cm以上~100cm以下
gte_bust=90lte_bust任意gte_bust=90ならバスト90cm以上、
lte_bust=90ならバスト90cm以下
gte_bust=90<e_bust=100なら
バスト90cm以上~100cm以下
lte_bust=90gte_waist任意同上
gte_waist=60lte_waist任意同上
lte_waist=60gte_hip任意同上
gte_hip=90lte_hip任意同上
lte_hip=90gte_height任意同上
gte_height=160lte_height任意同上
lte_height=160gte_birshday任意yyyymmddの形式で指定
gte_birthday=1990-01-01なら1990年1月1日以降生まれ
lte_birthday=1990-01-01なら1990年1月1日以前生まれ
gte_birthday=1980-01-01<e_birthday=1989-12-31なら
1980年1月1日生まれ~1989年12月31日生まれ
gte_birshday=1990-01-01lte_birthday任意yyyymmddの形式で指定
gte_birthday=1990-01-01なら1990年1月1日以降生まれ
lte_birthday=1990-01-01なら1990年1月1日以前生まれ
gte_birthday=1980-01-01<e_birthday=1989-12-31なら
1980年1月1日生まれ~1989年12月31日生まれ
lte_birthday=1990-01-01hits任意初期値:20 最大:100
hits=20offset任意初期値:1
offset=1sort任意名前昇順:name
名前降順:-name
バスト昇順:bust
バスト降順:-bust
ウエスト昇順:waist
ウエスト降順:-waist
ヒップ昇順:hip
ヒップ降順:-hip
身長昇順:height
身長降順:-height
生年月日昇順:birthday
生年月日降順:-birthday
女優ID昇順:id
女優ID降順:-id
sort=-nameoutput任意json / xml
output=jsoncallback任意出力形式jsonで指定した場合に、このパラメータでコールバック関数名を指定すると、JSONP形式で出力されます
callback=callback全パラメータ例
https://api.dmm.com/affiliate/v3/ActressSearch?
api_id=YOUR_API_ID&
affiliate_id=affiliate-990&
initial=あ&
actress_id=15365&
keyword=あさみ&
gte_bust=90&
lte_bust=90&
gte_waist=60&
lte_waist=60&
gte_hip=90&
lte_hip=90&
gte_height=160&
lte_height=160&
gte_birshday=1990-01-01&
lte_birthday=1990-01-01&
hits=20&
offset=1&
sort=-name&
output=json&
callback=callback
パラメータ値は読みやすさのために未エンコードで記載しています。送信時は URL エンコードしてください。
SDK での使用例
const dmm = require('dmm.js');
const client = new dmm.Client({
api_id: "YOUR_API_ID",
affiliate_id: "affiliate-990"
});
client.actress(
{
initial: "あ",
actress_id: 15365,
keyword: "あさみ",
gte_bust: "90",
lte_bust: "90",
gte_waist: "60",
lte_waist: "60",
gte_hip: "90",
lte_hip: "90",
gte_height: "160",
lte_height: "160",
gte_birshday: "1990-01-01",
lte_birthday: "1990-01-01",
hits: 20,
offset: 1,
sort: "-name",
output: "json",
callback: "callback",
},
(err, data) => {
if (err) {
console.error(err);
return;
}
console.log(data);
}
);
レスポンスフィールド
namevaluestatusresult_counttotal_countfirst_positionidnamerubybustcupwaisthipheightbirthdayblood_typehobbyprefecturessmalllargedigitalmonthlymono