パーソナル栄養士 | Personal Nutrition Manager
パーソナル栄養士 | Personal Nutrition Manager · Ações GPT
市場
商品情報を取得
GET /your-api-endpointgetItem指定されたジャンルの商品情報を取得
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "市場",
"description": "商品情報を取得",
"version": "v3"
},
"servers": [
{
"url": "https://app.rakuten.co.jp/services/api/IchibaItem/Search/20220601?"
}
],
"paths": {
"/your-api-endpoint": {
"get": {
"description": "指定されたジャンルの商品情報を取得",
"operationId": "getItem",
"parameters": [
{
"name": "format",
"in": "query",
"description": "レスポンスフォーマット",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "keyword",
"in": "query",
"description": "検索キーワード",
"required": true,
"schema": {
"type": "string",
"example": "食品"
}
},
{
"name": "applicationId",
"in": "query",
"description": "アプリケーションID",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "genreId",
"in": "query",
"description": "ジャンルID",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"example": 551167
}
},
{
"name": "hits",
"in": "query",
"description": "表示件数",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"example": 5
}
},
{
"name": "minPrice",
"in": "query",
"description": "最低価格",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"example": 1200
}
},
{
"name": "availability",
"in": "query",
"description": "在庫状況",
"required": false,
"schema": {
"type": "integer",
"format": "int32",
"example": 1
}
},
{
"name": "affiliateId",
"in": "query",
"description": "アフィリエイトID",
"required": false,
"schema": {
"type": "string",
"example": "379db8f0.2ceab316.379db8f1.4cfd768b"
}
}
]
}
}
},
"components": {
"schemas": {
"Item": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "アイテムの一意な識別子"
},
"name": {
"type": "string",
"description": "アイテムの名前"
},
"description": {
"type": "string",
"description": "アイテムの詳細な説明"
},
"price": {
"type": "number",
"format": "float",
"description": "アイテムの価格"
}
},
"required": [
"id",
"name",
"price"
]
}
}
}
}