Skip to content

Don't waste your time connecting to Ankama APIs...

License

Notifications You must be signed in to change notification settings

SwiTool/Ankonnect

Repository files navigation

Ankonnect ⚡️

Don't waste your time connecting to Ankama APIs...

Description

This small project is made to avoid to write time-consuming code about a non-consistent API.

Works on Window, Unix, OSX.

Dependencies

None. You just have to have curl installed on your system.

Installation

Using npm: npm i --save ankonnect

Using yarn: yarn add ankonnect

Usage

You have to construct the Ankonnect and use the SDK.

import Ankonnect from "ankonnect";

const ankonnect = new Ankonnect();
const response = await ankonnect.Api.createApiKey({
  login: "myLogin",
  password: "*******",
  long_life_token: true
});
console.log(response.key);

To find all the APIs, check the Docs

About

Don't waste your time connecting to Ankama APIs...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published