Skip to content

Ahmadram007/klicktippApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

klicktippAPI

A node translation of php Wrapper of the klicktipp API.

Please see the documentation of the offical PHP version For more Information,.

Install

npm i klicktipp-connector

Usage

const KlicktippConnector = require("klicktipp-connector");

const test = async () => {
  const klicktippConnector = new KlicktippConnector();

  // Replace with username  && password
  const username = "username";
  const password = "password";

  console.log("login", await klicktippConnector.login(username, password));
  // do some stuff here for example
  const tags = await klicktippConnector.tagIndex();
  if (tags) {
    console.log("tags:", tags);
  } else {
    console.log("error:", klicktippConnector.getLastError());
  }
  console.log("logout", await klicktippConnector.logout());
};

test();

For more Information, see the documentation of the offical PHP version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published