timeweb-cloud-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

TimeWeb Cloud API SDK

cover

npm downloads

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)

Development

Useful links

Package Sidebar

Install

npm i timeweb-cloud-sdk

Weekly Downloads

0

Version

1.0.3

License

GPL-3.0

Unpacked Size

1.42 MB

Total Files

906

Last publish

Collaborators

  • nk.greeg