Skip to content
KNSG edited this page Sep 8, 2019 · 1 revision

Summary

  • badge data by fitbit
  • File name starts with badge.json
  • File format: JSON

Data Specification(Presumption)

[{
  "encodedId" : "228TLJ",
  "badgeType" : "DAILY_STEPS",
  "value" : 40000,
  "timesAchieved" : 1,
  "dateTime" : "2018-05-04",
  "name" : "スパイクシューズ (一日40,000歩)",
  "shortName" : "スパイクシューズ",
  "earnedMessage" : "初めてのスパイクシューズバッジ獲得おめでとうございます!",
  "description" : "一日40,000歩",
  "category" : "今日の歩数",
  "shareText" : "40,000歩数でスパイクシューズバッジを獲得!#Fitbit"
}]
  • encodedId (String) : encoded ID
  • badgeType (String) : badge type text
  • value (int) : ???
  • timesAchieved (int) : ???
  • dateTime (string) : date string. format (yyyy-MM-dd)
  • name (string) : badge name
  • shortName (string) : short badge name
  • earnedMessage (string) : message text
  • description (string) : message description
  • category (string) : badge category
  • shareText (string) : shared text for SNS?
Clone this wiki locally