Created
July 21, 2017 01:07
-
-
Save rdegges/cb77596b5cb7e0a9906030a049b8ab21 to your computer and use it in GitHub Desktop.
Crypto Compare getCoinData
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
getCoinData: function() { | |
let self = this; | |
axios.get(CRYPTOCOMPARE_API_URI + "/api/data/coinlist") | |
.then((resp) => { | |
this.coinData = resp.data.Data; | |
this.getCoins(); | |
}) | |
.catch((err) => { | |
this.getCoins(); | |
console.error(err); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment