/hiyoga

CLI tool to access HiYoga API

Primary LanguageGo

HiYoga CLI

Build Status

This is a simple CLI tool for accessing the HiYoga API. It currently supports listing classes for a specified number of days in advance, describing the different types of classes available as well as listing bookings and their statuses.

Example screenshot

Just go get github.com/tazjin/hiyoga/....

Usage

NAME:
   HiYoga CLI - Get moving!

USAGE:
   hiyoga [global options] command [command options] [arguments...]

COMMANDS:
     list-classes, lc       list upcoming yoga classes
     list-class-types, lct  list available yoga class types
     list-bookings, lb      List current bookings (requires auth)
     help, h                Shows a list of commands or help for one command

Authentication support

The HiYoga CLI supports authentication for doing things like listing bookings and booking new classes.

To make use of this, place a configuration file like this in $HOME/.hiyoga:

{
  "username": "some.email@example.com",
  "password": "TremendousPassword2017"
}

Disclaimer

This project is not in any way affiliated with HiYoga. I don't work for the company and if this breaks in any way it's entirely my fault as this API is not designed for public consumption.