0.1.4 • Published 4 years ago

code-wars-api-wrapper v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

code-wars-api-wrapper

npm version

Install

npm i code-wars-api-wrapper

Get started

const client = new CodeWarsClient();
// Get user information (replace username placeholder with actual username)
const user: User | null = await client.getUser('username');
// Get completed challenges of a user
const completedChallenges: CompletedChallengeResponse | null = await client.getCompletedChallenges('username', 1);
// List challenges authored by the user.
const authoredChallenges: AuthoredChallenge[] | null = await client.getAuthoredChallenges('username');
// Get information about a code challenge
const codeChallenge: CodeChallengeInformation | null = await client.getCodeChallenge('id or slug');
0.1.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago