Skip to content

Releases: nkgreeg/timeweb-cloud-sdk

v1.0.2

25 Feb 16:59
Compare
Choose a tag to compare

New spec.json 2024-02-25

v1.0.1

19 Feb 00:48
Compare
Choose a tag to compare

Up version to publish to npmjs

v1.0.0

18 Feb 00:48
Compare
Choose a tag to compare

v1.0.0

Install

yarn add timeweb-cloud-sdk
npm -i timeweb-cloud-sdk

Using example

import { TimeWeb } from 'timeweb-cloud-sdk'

const TOKEN = '<YOUR API TOKEN>' // You can create token here: https://timeweb.cloud/my/api-keys

async function main (): Promise<void> {
  const timeWeb = new TimeWeb({ TOKEN })
  const getProjectsResult = await timeWeb.service.getProjects()
  console.log(getProjectsResult.projects)
}
main().catch(console.error)