2.0.0-beta.4-rebuild • Published 1 year ago

@hongbeccodeduocchua/fo4-db v2.0.0-beta.4-rebuild

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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

  • i don't know :))

Installation

npm i @hongbeccodeduocchua/fo4-db@latest

Example

  • 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

2.0.0-beta.2

1 year ago

2.0.0-beta.4

1 year ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.3

2 years ago

1.1.2-info

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago