Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Vintage Tracker Public Api

Avatar for Nori Nori
December 20, 2025

Vintage Tracker Public Api

Avatar for Nori

Nori

December 20, 2025

More Decks by Nori

Other Decks in Technology

Transcript

  1. API基本仕様 GET /shops - ショップデータの取得 エンドポイント GET /shops 古着屋の基本情報を取得するためのメインエンドポイント。フィルタリングやページ ネーション機能に対応しています。

    取得可能なデータ • ショップ名 - 古着屋の正式名称 • 住所 - 所在地情報 • 座標 - 緯度経度(地図表⽰⽤) • 営業時間 - 営業時間と定休⽇ • 連絡先 - 電話番号やWebサイト • ⽀払い⽅法 - 現⾦、カード、デジタルウォレットなど • 年代 - 取扱年代(60s, 70s, 80s, 90sなど) • スタイル - 取扱スタイル(american, streetwearなど) • アイテム - 取扱アイテム(ミリタリー、ヴィンテージ、アウトドアなど)
  2. リクエスト例 APIへのリクエスト⽅法とクエリパラメータ 基本的なリクエスト GET /shops ?latitude=35.6762 &longitude=139.6503 &radius=1000 &era=80s &styles=american

    &items=tops,dresses 緯度‧経度を指定して周辺の古着屋を検索。年代、スタイル、アイテムでフィルタリン グできます。 クエリパラメータ latitude, longitude 検索中⼼地点の座標 radius 検索範囲(メートル単位) era 年代で絞込(60s, 70s, 80s, 90sなど) styles スタイルで絞込(american, japanese など) items アイテムで絞込(カンマ区切り)
  3. レスポンス例 APIが返すJSONデータの構造 ショップデータのレスポンス例 { "shops": [ { "id": "shop_001", "name":

    "ビンテージストア東京", "address": "東京都渋⾕区道⽞坂1-2-3", "coordinates": { "latitude": 35.6595, "longitude": 139.7004 }, "phone": "+81-3-xxxx-xxxx", "website": "https://example.com", "hours": { "monday": "10:00-20:00", "sunday": "closed" }, "payment_methods": ["cash", "card", "digital_wallet"], "era": ["70s", "80s"], "styles": ["american", "streetwear"], "items": ["tops", "bottoms", "dresses", "accessories"], "description": "70-80年代アメリカンヴィンテージを中⼼に扱う古着屋" } ], "pagination": { "total": 150, "page": 1, "per_page": 20 } }