An open API service indexing awesome lists of open source software.

https://github.com/perongh/xports-auto-book

Automatically book tickets for XJTLU Gym
https://github.com/perongh/xports-auto-book

deno deno-kv typescript xjtlu xjtlu-student

Last synced: 2 months ago
JSON representation

Automatically book tickets for XJTLU Gym

Awesome Lists containing this project

README

          

# Xports Auto Book

Automatically book tickets for XJTLU Gym.

## Usage

### CLI

```sh
deno run -A cli.ts
```

### Module

```ts
import { autoBook } from "./mod.ts";

await autoBook({
netUserId: "...",
date: "yyyy-MM-dd",
timeName: "hh-mm",
serviceName: "健身",
});
```

### Server

`server.ts` can be hosted on Deno Deploy. Ensure that you have access to Deno KV.