Skip to content

zeon256/activesg_gym_dataminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ActiveSG Gym Data Miner

This repo host the source code that query and parse the slot data for all the ActiveSG Gyms

Usage

Usage: activesg_gym_datamine.exe -u <username> -p <password> [-s]

ActiveSG Slot Dataminer

Options:
  -u, --username    username
  -p, --password    users password
  -s, --is-soa      output data in struct of array
  --help            display usage information

Struct of Array output

You can supply the -s flag to output SoA format. The format is something like this.

{
  "gym": "AMK_CC",
  "datetime": "2022-01-11T05:57:33.621402800",
  "time": [
    "2022-01-10T23:00:00Z",
    "2022-01-11T01:00:00Z",
    "2022-01-11T03:00:00Z",
    "2022-01-11T05:00:00Z",
    "2022-01-11T07:00:00Z",
    "2022-01-11T09:00:00Z",
    "2022-01-11T11:00:00Z",
    "2022-01-11T13:00:00Z"
  ],
  "slots_avail": [
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1
  ]
}

Compile

cargo build --release

About

ActiveSG Gym Slot Dataminer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages