Giter Club home page Giter Club logo

cale's Introduction

cale is a command-line utility for summarizing Calendly availability.

usage

馃崈

Here, I summarize availability from a Calendly event named 60m (https://calendly.com/briantigerchow/60m)

位. cale 60m

Sun 21 Nov    from 12:00 PM to 3:00 PM
Mon 22 Nov    02:30 PM
Mon 22 Nov    from 5:30 PM to 7:30 PM

馃崈

Let's see weekdays only:

位. cale 60m -w

Mon 22 Nov    02:30 PM
Mon 22 Nov    from 5:30 PM to 7:30 PM

馃崈

Now, let's also exclude slots that end after 6:30 PM.

位. cale 60m -w -e 6:30PM

Sun 21 Nov    from 12:00 PM to 3:00 PM
Mon 22 Nov    02:30 PM
Mon 22 Nov    05:30 PM

馃挕 Note that availability is shown as a time range (i.e. from 12:00 PM to 3:00 PM) only when useful. Otherwise, availability is simply represented by start time (e.g. 5:30 PM).

馃崈

Let's see up to 21 days into the future:

位. cale 60m -w -e 6:30PM -n 21

Mon 22 Nov    02:30 PM
Mon 22 Nov    05:30 PM
Wed 01 Dec    from 3:30 PM to 6:30 PM
Thu 02 Dec    from 2:00 PM to 6:30 PM
Fri 03 Dec    from 2:00 PM to 3:30 PM
Fri 03 Dec    from 5:00 PM to 6:30 PM

installation

  1. go install github.com/btc/cale
  2. cale hits the Calendly API and requires authentication. Set the value of the CALENDLY_TOKEN environment variable to a Calendly personal access token. Optionally, you may write the environment variable to a dotenv file in the home directory at ~/.env.

cale's People

Contributors

btc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    馃枛 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 馃搳馃搱馃帀

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google 鉂わ笍 Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.