Socket
Book a DemoInstallSign in
Socket

aw-api

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aw-api

ActivityWatch OpenAPI spec and SDK in typescript.

latest
npmnpm
Version
0.0.13
Version published
Maintainers
0
Created
Source

ActivityWatch API

ActivityWatch OpenAPI spec and SDK in typescript.

Usage

bun install activitywatch-api
  • save this into ./aw-script.ts
import { ActivityWatchAPI } from "./Api";

const api = new ActivityWatchAPI({
  baseUrl: "http://localhost:5600/api",
}).v0

const info = await api.getInfoResource();
console.log(info);

Play with examples

  • git clone this repo
  • bun install
  • code examples/
  • bun src/get-info.ts

Reference

This project was created using bun init in bun v1.1.10. Bun is a fast all-in-one JavaScript runtime.

FAQs

Package last updated on 23 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts