Skip to content

Instantly share code, notes, and snippets.

@claustres
Created June 4, 2019 14:33
Show Gist options
  • Save claustres/d554392e1302d985da539e9fb4cae651 to your computer and use it in GitHub Desktop.
Save claustres/d554392e1302d985da539e9fb4cae651 to your computer and use it in GitHub Desktop.
Kano feathers client
async main () {
// Initialize the sole client we need
await this.setupKano()
// Now we can transparently access Weacast API whenever required through the main app client
const response = await this.api.service('forecasts').find()
this.forecastModels = response.data
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment