Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 899 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 899 Bytes

Tankille API

Tankille applikaation yksityinen api hienossa ja kivassa npm paketissa.

Asentaminen:

npm:

npm i @jeffe/tankille

yarn:

yarn add @jeffe/tankille

Käyttäminen:

const { Client } = require("@jeffe/tankille");

const client = new Client()

async function run() {
  await client.login({
    email: "[email protected]",
    password: "testpass"
  })

  const stations = await client.getStations()

  console.log(stations)
}

run()

Kuinka tätä käyttää: