@hongbeccodeduocchua/fo4-db
v2.0.0-beta.4-rebuild
Published
This is the package about the player database of fifa online 4.
Downloads
20
Readme
About this project
This is the package about the player database of fifa online 4, use fifaaddict.com to code, feel free when open pull request or issue
- Easy to use
- Docs: here
- In verion 2.0.0, we are using api instead of cheerio, so will make some breaking changes :> enjoy
TODO / Features
- [x] i don't know :))
Installation
npm i @hongbeccodeduocchua/fo4-db@latestExample
- Search player
import * as fo4 from ;
import { Client, Regions, Countries, Seasons, Positions } from '@hongbeccodeduocchua/fo4-db';
const client = new Client({
region: Regions.VN,
});
client.player
.find({
salary: {
min: 0,
max: 29,
},
country: Countries.argentina,
age: {
min: 18,
max: 36,
},
seasons: [Seasons["23TY"]],
positions: [Positions.RW],
})
.then(console.log);Data:
[
{
name: 'L. Messi',
id: 'nznokpnz',
position: 'RW',
team: '23 TOTY',
livePerAmount: '0',
skillLevel: '4',
season: '23TY'
}
]
P/s
For educational and learning purposes
