Mashup Award 9 説明イベント 東京 vol2

>100 Views

October 10, 13

スライド概要

profile-image

2023年10月からSpeaker Deckに移行しました。最新情報はこちらをご覧ください。 https://speakerdeck.com/lycorptech_jp

シェア

埋め込む »CMSなどでJSが使えない場合

関連スライド

各ページのテキスト
1.

ショッピングAPIのご紹介 ヤフー株式会社 尾崎 康次郎

2.

ショッピングAPIについて リクエスト レスポンス

3.

ショッピングAPI ~商品検索API~ appid affiliate_type affiliate_id callback query type jan isbn image_size category_id product_id person_id brand_id store_id price_from price_to affiliate_from affiliate_to hits offset sort module availability discount shipping payment license salestart_from salestart_to saleend_from saleend_from saleend_to exp_area exp_deadline_from exp_deadline_to same_day_area same_day_deadline_from same_day_deadline_to 38 /ResultSet /ResultSet/Result/Query /ResultSet/Result/Modules/PriceRanges/Price/Range/From /ResultSet/Result/Modules/PriceRanges/Price/Range/To /ResultSet/Result/Modules/PriceRanges/Price/Range/Hits /ResultSet/Result/Modules/Subcategories/Path/Category/Id /ResultSet/Result/Modules/Subcategories/Path/Category/Name /ResultSet/Result/Modules/Subcategories/Children/Child/Id /ResultSet/Result/Modules/Subcategories/Children/Child/Name /ResultSet/Result/Modules/Subcategories/Children/Child/Hits /ResultSet/Result/Hit /ResultSet/Result/Hit/Name /ResultSet/Result/Hit/Description /ResultSet/Result/Hit/Headline /ResultSet/Result/Hit/Url /ResultSet/Result/Hit/Availability /ResultSet/Result/Hit/Code /ResultSet/Result/Hit/PersonId /ResultSet/Result/Hit/ProductId /ResultSet/Result/Hit/Image/Id /ResultSet/Result/Hit/Image/Small /ResultSet/Result/Hit/Image/Medium /ResultSet/Result/Hit/ExImage/Url /ResultSet/Result/Hit/ExImage/Width /ResultSet/Result/Hit/ExImage/Height /ResultSet/Result/Hit/Review/Rate /ResultSet/Result/Hit/Review/Count /ResultSet/Result/Hit/Review/Url /ResultSet/Result/Hit/Affiliate/Rate /ResultSet/Result/Hit/Price /ResultSet/Result/Hit/PriceLabel /ResultSet/Result/Hit/PriceLabel/FixedPrice /ResultSet/Result/Hit/PriceLabel/DefaultPrice /ResultSet/Result/Hit/PriceLabel/SalePrice /ResultSet/Result/Hit/PriceLabel/PeriodStart /ResultSet/Result/Hit/PriceLabel/PeriodEnd /ResultSet/Result/Hit/Point/Amount /ResultSet/Result/Hit/Point/Times /ResultSet/Result/Hit/Shipping/Code /ResultSet/Result/Hit/Shipping/Name /ResultSet/Result/Hit/Category/Current/Id /ResultSet/Result/Hit/Category/Current/Name /ResultSet/Result/Hit/CategoryIdPath/Category/Id /ResultSet/Result/Hit/Brands/Name /ResultSet/Result/Hit/Brands/Path/Brand/Id /ResultSet/Result/Hit/JanCode /ResultSet/Result/Hit/Model /ResultSet/Result/Hit/IsbnCode /ResultSet/Result/Hit/Store/Id /ResultSet/Result/Hit/Store/Name /ResultSet/Result/Hit/Store/Url /ResultSet/Result/Hit/Store/Payment/Method /ResultSet/Result/Hit/Store/Payment/Method/Code /ResultSet/Result/Hit/Store/Payment/Method/Name /ResultSet/Result/Hit/Store/IsBestStore /ResultSet/Result/Hit/Store/Ratings/Rate /ResultSet/Result/Hit/Store/Ratings/Count /ResultSet/Result/Hit/Store/Image/Id /ResultSet/Result/Hit/Store/Image/Medium /ResultSet/Result/Hit/Store/SameDayDelivery /ResultSet/Result/Hit/Store/SameDayDelivery/Areas/Area /ResultSet/Result/Hit/Store/SameDayDelivery/Areas/Area/Code /ResultSet/Result/Hit/Store/SameDayDelivery/Areas/Area/Name /ResultSet/Result/Hit/Store/SameDayDelivery/Areas/Area/Prefectures /ResultSet/Result/Hit/Store/SameDayDelivery/Areas/Area/Prefectures/Prefecture/Code /ResultSet/Result/Hit/Store/SameDayDelivery/Areas/Area/Prefectures/Prefecture/Name /ResultSet/Result/Hit/Store/SameDayDelivery/Deadline /ResultSet/Result/Hit/Store/SameDayDelivery/Conditions /ResultSet/Result/Hit/Store/ExpressDelivery /ResultSet/Result/Hit/Store/ExpressDelivery/Areas /ResultSet/Result/Hit/Store/ExpressDelivery/Areas/Area/Code /ResultSet/Result/Hit/Store/ExpressDelivery/Areas/Area/Name /ResultSet/Result/Hit/Store/ExpressDelivery/Areas/Area/Prefectures /ResultSet/Result/Hit/Store/ExpressDelivery/Areas/Area/Prefectures/Prefecture/Code /ResultSet/Result/Hit/Store/ExpressDelivery/Areas/Area/Prefectures/Prefecture/Name /ResultSet/Result/Hit/Store/ExpressDelivery/Deadline /ResultSet/Result/Hit/Store/ExpressDelivery/Conditions 77

4.

ショッピングAPI ~すごくカンタンなほう~ • コンテンツマッチアイテムAPI • コンテンツマッチランキングAPI www.sofmap.com <RankingData rank="1" vector="stay" type="item"> <Name>CASIO EX-N10BK デジタルカメラ EXILIM EX-N10 ブラック </Name> ... <Rate>4.50</Rate> <Count>10</Count> ... <RankingData rank="2" vector="up" type="item"> <Name> 【在庫あり】富士フィルム チェキ用フィルム instax mini 5パック品 CN5(50 枚入り)×2個セット [100枚入] </Name> ... <Rate>4.50</Rate> <Count>5</Count> ... <RankingData rank="3" vector="up" type="item"> <Name> 【あすつく】 ケンコー 水準器付三脚&amp;カメラバッグ&amp;クリーニング キットセット DVC-0302 </Name> ... <Rate>4.00</Rate> <Count>2</Count> ...

5.

サービス創ったら、マネタイズ$ • Yahoo! アフィリエイト • Yahoo! JAPAN ID ですぐに始められる • バリューコマースアフィリエイト • 分析ツールなどが豊富 http://developer.yahoo.co.jp/appendix/shopping/affiliate.html

7.

オークションAPIのご紹介 ヤフー株式会社 奥山 学

8.

ヤフオク!とは ・CtoC CtoBのネットオークション ・物やサービスを売ったり(出品)買ったり(落 札)できる。 ③購入(落札) ①出品 ②入札 出品者 入札者 ④商品

9.

オークションAPIについて ・ヤフオク!の各種データを使いやすく提供 Developers &Biz partner& WebService & Apps 入札者 Auctions APIs

10.

オークションAPI一覧 オークションを探す 検索API カテゴリ 情報API オークションの管理 商品リス トAPI 出品リス トAPI オークションの詳細 入札履 歴API すべて の入札 履歴API Q&A取 得API 評価API 商品詳細 API マイ出品 中API マイ落札 者一覧 API マイ出品 終了分 API マイ出品 終了分削 除API マイ入札 中API マイ落札 分API マイ値下 げ交渉削 除API マイ値下 げ交渉表 示API ウォッチリ スト追加 API ウォッチリ スト・開催 中API ウォッチリ ストリマイ ンダー解 除API マイ落札 分削除 API ウォッチリ スト削除 API ウォッチリ スト・終了 分API ウォッチリ ストリマイ ンダー設 定API http://developer.yahoo.co.jp/webapi/auctions/

11.

オークションAPIの使い方例 http://developer.yahoo.co.jp/start/

12.

オークションAPIの使い方例 Query http://auctions.yahooapis.jp/AuctionWebService/V2/search? appid=xxxxxxxxx&query=liverpool %20fc API call Response

13.

ヤフオク!も変わります!

14.

API3分クッキング ヤフー株式会社 光野 達朗

15.

API3分クッキング JSONP •HTML1行 JavaScript不要 •テンプレートエンジン内包 mustache.jsを利用してHTML作成 •MITライセンス https://github.com/ydnjp/bakusoku-jsonp

16.
[beta]
爆速JSONPを使う

HTML1行
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8"/>
<title>爆速JSONP</title>
</head>
<body>
<script src="http://i.yimg.jp/images/yjdn/js/bakusoku-jsonp-v1.js"
data-url="http://shopping.yahooapis.jp/ShoppingWebService/V1/json/itemSearch"
data-p-appid="<YOUR_APPLICATION_ID>"
data-p-query="vaio" > 1つ目の商品は「 {{ResultSet.0.Result.0.Name}} 」です!</script>
</body>
</html>

ここでは商品名だけを取得しています
空タグで全ての結果が得られます「~ ></script>」
詳しくはYahoo! JAPAN TechBlogでどうぞ()

17.

わんもあしんぐ:爆速JSONPが使えない時 「自分の使いたいAPIはJSONP非対応なんですけど・・・」 そんな貴方に YQL 詳しくはYahoo! JAPAN TechBlogでどうぞ

18.

まとめ 本日は •Yahoo! ショッピング 商品検索API / コンテンツマッチ / アフィリエイト •ヤフオク! ヤフオク!とは / オークションAPI の使い方 •API3分クッキング 爆速JSONP ... の3本でお贈りいたしました