Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

2018 06-05 - Tokyo Fitbit Developers - Fitbit SDK & Web API Overview - Japanese version

45 views

Published on

Japanase version of a talk I gave in Tokyo (I don't speak Japanese, sorry)

Published in: Technology
  • Be the first to comment

  • Be the first to like this

2018 06-05 - Tokyo Fitbit Developers - Fitbit SDK & Web API Overview - Japanese version

  1. 1. Frédéric Harper @ Fitbit Fitbit SDK & Web API @fharper Tokyo Fitbit Developers - 2018-06-05 @fitbitdev
  2. 2. #made4fitbit
  3. 3. Fitbit OS SDK
  4. 4. ● JavaScript SVG & CSS ● Fitbit Studio ● macOS Windows
  5. 5. ● ●
  6. 6. ● React JSX ● Clock Face ● ● settingsStorage ● OAuth
  7. 7. //Resources like CSS, images or GUI files /resources/filename~SCREEN-RESOLUTION.ext //Specific /resources/styles~300x300.css /resources/styles~348x250.css //Fallback /resources/styles.css
  8. 8. //Device API import { me as device } from "device"; //Companion API import { device } from "peer"; //Backward compatibility if (!device.screen) device.screen = { width: 348, height: 250 };
  9. 9. Clock face Development Station
  10. 10. Fitbit API
  11. 11. ● Activity ● Body & Weight ● Devices ● Food Logging ● Friends REST APIs ● Heart Rate ● Sleep ● Subscriptions ● User
  12. 12. { "Activities":[ { "activityId":51007, "activityParentId":90019, "Calories":230, "Description":"7mph", "Distance":2.04, "Duration":1097053, "hasStartTime":true, "isFavorite":true, ... JSON
  13. 13. dev.fitbit.com
  14. 14. Frédéric Harper fharper@fitbit.com dev.fitbit.com outofcomfortzone.net

×