μΉ΄ν κ³ λ¦¬ μ’ λ₯λ μΉ΄μΉ΄μ€ μ§λ API μΉ΄ν κ³ λ¦¬ μ½λ μ°Έκ³
HTTP Method: POST
Endpoint: /list/{category}
Content-Type: application/json
μ€λͺ :
μ§μ ν κ²½λ(x), μλ(y) μ’νμ μΉ΄ν κ³ λ¦¬λ‘ μ£Όλ³ μ₯μμ 리뷰, μμ μν, AI μΆμ² μ μ λ±μ λΆμν΄μ λ°νν©λλ€.
bash
μ½λ 볡μ¬
curl -X POST \\
-H "Content-Type: application/json" \\
-d '{"x": 127.743288, "y": 37.872316}' \\
'<http://127.0.0.1:8000/list/FD6>'
Parameter | Type | Description |
---|---|---|
x |
float | κ²½λ (μ: 127.743288) |
y |
float | μλ (μ: 37.872316) |
category
λ URL pathλ‘ μ λ¬ (μ: FD6 = μμμ , CE7 = μΉ΄ν λ±)μλ΅ νν:
μ₯μ μ λ³΄κ° λ΄κΈ΄ κ°μ²΄μ 리μ€νΈ
Key | Type | μ€λͺ |
---|---|---|
store_name |
string | μ₯μ μ΄λ¦ |
AI_score |
float | Geminiκ° νλ¨ν μ₯μ νκ° μ μ (0~10) |
x |
float | μ₯μμ xμ’ν(κ²½λ) |
y |
float | μ₯μμ yμ’ν(μλ) |
status |
string | νμ¬ μμ μ 보 ('μμ μ€', 'μμ μ’ λ£' λ±) |
status_description |
string | μμ μ€λͺ (μ: '11:00μ μμ μμ') |
visitorReviewScore |
string | 리뷰 νμ (μμΌλ©΄ null) |
visitorReviewCount |
string | 리뷰 μ(μμΌλ©΄ null) |
phone_number |
string | μ νλ²νΈ(μμΌλ©΄ null) |