Skip to content

PeronGH/xports-auto-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xports Auto Book

Automatically book tickets for XJTLU Gym.

Usage

CLI

deno run -A cli.ts

Module

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.