jphacks/TK_1702

APIのlocationを"~丁目"みたいな感じで返して欲しい

Closed this issue · 1 comments

  • Video一覧表示で、ビデオのサムネと一緒に位置情報を表示するが、これが(緯度, 軽度)だと直感的にわからない
  • APIから返すlocationを丁目で返して欲しい。

$ curl https://www.slashapp.ml/video -H 'X-Udid: hoge' | jq .

[
  {
    "created_at": 1510282947,
    "owner_id": 1,
    "file_name": "/static/video/83c572e7044fecd1467f7f33f61bd8615924f09fc8746afe56a641b6fb624e2b.mp4",
    "thumb_name": "/static/thumb/83c572e7044fecd1467f7f33f61bd8615924f09fc8746afe56a641b6fb624e2b.jpg",
    "latitude": "35.709578",
    "longitude": "139.726113",
    "location": "東京都文京区関口一丁目"
  }
]