Skip to content

Instantly share code, notes, and snippets.

@rdegges
Last active July 21, 2017 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdegges/825084f23f584b46ecc0f23452cebbe4 to your computer and use it in GitHub Desktop.
Save rdegges/825084f23f584b46ecc0f23452cebbe4 to your computer and use it in GitHub Desktop.
Crypto Compare getCoins
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