Last active
July 21, 2017 01:07
-
-
Save rdegges/825084f23f584b46ecc0f23452cebbe4 to your computer and use it in GitHub Desktop.
Crypto Compare getCoins
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
getCoins: function() { | |
let self = this; | |
axios.get(COINMARKETCAP_API_URI + "/v1/ticker/?limit=10") | |
.then((resp) => { | |
this.coins = resp.data; | |
}) | |
.catch((err) => { | |
console.error(err); | |
}); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment