Sha256: 3631926e5f05448a7019debcf5e2dd45f1d7259af9c6539ef6de67cb55760966

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

# Attend [![Build Status](https://travis-ci.org/SponsorPay/stack-retrace.svg?branch=master)](https://travis-ci.org/SponsorPay/stack-retrace)

Register your attendance at Zoho using CLI.

## Installation

Install `attend` Ruby gem:

```bash
gem install attend
```

and that's it!

## Usage

First of all you need to set [Zoho Poeople auth token](https://www.zoho.com/people/help/api/auth-token.html) as env variable in your terminal. After that you will be ready to use `attend`. 

```bash
export ZOHO_PEOPLE_AUTH_TOKEN='YOUR_TOKEN'
```


To register attendance on current day:

```bash
attend --email "your.employee@email.com" --check_in "10:00" --check_out "18:00"
# Successfully registered attendance from 2017-07-04T10:00:00+10:00 to 2017-07-04T18:00:00+18:00
```

You can also register attendance for a few days:
 
```bash
 attend --email "your.employee@email.com" --check_in "10:00" --check_out "18:00" --from "04/07/2017" --to "07/07/2017"
 # Successfully registered attendance from 2017-07-04T10:00:00+10:00 to 2017-07-04T18:00:00+18:00
 # Successfully registered attendance from 2017-07-05T10:00:00+10:00 to 2017-07-05T18:00:00+18:00
 # ...
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attend-0.2.1 README.md
attend-0.2.0 README.md