Skip to content

Instantly share code, notes, and snippets.

@rootasjey
Last active November 23, 2018 19:08
Show Gist options
  • Save rootasjey/94566a8ec63326b7012ab23a3afff318 to your computer and use it in GitHub Desktop.
Save rootasjey/94566a8ec63326b7012ab23a3afff318 to your computer and use it in GitHub Desktop.
Fitbit weather companion fetch example
// Companion
// You'll need to add `fitbit-weather` module in your project
import * as weather from '../lib/fitbit-weather/companion';
weather.setup({ provider : weather.Providers.darksky, apiKey : 'apiKey' });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment