Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nescalante/argentina-86
https://github.com/nescalante/argentina-86
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nescalante/argentina-86
- Owner: nescalante
- Created: 2015-11-19T02:12:50.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-15T20:25:43.000Z (over 4 years ago)
- Last Synced: 2024-11-18T11:32:25.034Z (about 2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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