Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nescalante/argentina-86


https://github.com/nescalante/argentina-86

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Argentina 86

Argentina 86 players data app used as an introduction to Node

## Getting started

- Install node from [https://nodejs.org/](https://nodejs.org/)
- 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:

```js
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