New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

eafc-clubs-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eafc-clubs-api

An API written in TypeScript for the FC24 Clubs mode which allows developers to retrieve game statistics for all platforms.

latest
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

eafc-clubs-api

An API written in TypeScript for the FC24 Clubs mode which allows developers to retrieve game statistics for all platforms.

Installation

npm i eafc-clubs-api

Example

Check examples/ for common use cases of this library.

Endpoints

searchClub(input: InferType<typeof SCHEMAS.CLUB_SEARCH>): Promise<Club[]>

Search for a club by name.

Parameters

  • input: An object containing the search parameters. The object must conform to the SCHEMAS.CLUB_SEARCH schema.

Returns

An array of Club objects that match the search criteria.

overallStats(input: InferType<typeof SCHEMAS.OVERALL_STATS>): Promise<OverallStats[]>

Get the overall stats of the club.

Parameters

  • input: An object containing the search parameters. The object must conform to the SCHEMAS.OVERALL_STATS schema.

Returns

An array of OverallStats objects that represent the overall stats of the club.

memberCareerStats(input: InferType<typeof SCHEMAS.MEMBER_CAREER_STATS>): Promise<MemberCareerStats[]>

Get the stats of all members of the club.

Parameters

  • input: An object containing the search parameters. The object must conform to the SCHEMAS.MEMBER_CAREER_STATS schema.

Returns

An array of MemberCareerStats objects that represent the career stats of all members of the club.

matchesStats(input: InferType<typeof SCHEMAS.MATCHES_STATS>): Promise<Match[]>

Get the stats of all matches of the club

Parameters

  • input: An object containing the search parameters. The object must conform to the SCHEMAS.MATCHES_STATS schema.

Returns

An array of Match objects that represent the stats of all matches of the club.

memberStats(input: InferType<typeof SCHEMAS.MEMBER__STATS>): Promise<MemberStats[]>

Get the stats of all members of the club.

Parameters

  • input: An object containing the search parameters. The object must conform to the SCHEMAS.MEMBER__STATS schema.

Returns

An array of MemberStats objects that represent the stats of all members of the club.

Keywords

eafc

FAQs

Package last updated on 22 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts