1.3.0 • Published 1 year ago

curseforge-v2 v1.3.0

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

curseforge-v2

CurseForge V2 API library primarily typed to support usage with WoW but should work for any of their games.

Source: https://docs.curseforge.com/#getting-started

Installing

Using npm:

$ npm install curseforge-v2

Setup

The client requires a CurseForge API key. You can learn more about getting a key here: https://support.curseforge.com/en/support/solutions/articles/9000208346-about-the-curseforge-api-and-how-to-apply-for-a-key

Example

Getting featured addons

async function getFeaturedMods() {
  const client = new CFV2Client({ apiKey: 'YOUR_API_KEY' });

  const result = await client.getFeaturedMods({
    gameId: 1,
    gameVersionTypeId: CF2WowGameVersionType.Retail,
    excludedModIds: [],
  });
}
1.3.0

1 year ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago