Created
June 4, 2019 14:33
-
-
Save claustres/d554392e1302d985da539e9fb4cae651 to your computer and use it in GitHub Desktop.
Kano feathers client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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