argentina-86

argentina 86 players api

Usage no npm install needed!

<script type="module">
  import argentina86 from 'https://cdn.skypack.dev/argentina-86';
</script>

README

Argentina 86

Argentina 86 players data app used as an introduction to Node

Getting started

  • Install node from https://nodejs.org/ (version 4.2.2 is ok)
  • Create a new folder and once in that folder run npm install argentina-86
  • Create a new file (called index.js for example) with this content:
var arg86 = require("argentina-86");

arg86.getPlayers()
  .then(function(data) {
    var names = data.map(function (p) { return p.name; });
    console.log(names);
  });
  • Run it into a terminal with node index.js
  • You can now start to study the entire squad