0.5.5 • Published 2 years ago

@zeitraum/client v0.5.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

📦 @zeitraum/client

The @zeitraum/client allows to start interface with the Zeitraum API. Build JavaScript and TypeScript based integrations without dealing with GraphQL or REST. The client abstracts the GraphQL API in an easy to use client:

npm install @zeitraum/client
import { zeitraum } from '@zeitraum/client'

// initialize a client instance
const client = zeitraum({
  baseUrl: "https://your-zeitraum.com",
  apiToken: "fdHww82okrvB..."
})

// use everywhere
await client.createTimeSpan({
  start: new Date().toISOString(),
  tags: ["work", "zeitraum"]
  note: "Writing a usage example for the Zeitraum client"
})
0.5.4

2 years ago

0.5.3

2 years ago

0.5.5

2 years ago

0.5.2

2 years ago

0.2.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago