An amazing Tangerino plugin for Slack to punch in and out from your CLI, while automatically letting your team know if you're available or not.
Orangino uses the Reqwest crate to interact with the Tangerino API, while binding with Python to benefit from the official Slack client to publish messages to the channel of your choice.
- You will need Python > 3.5 and Rust's nightly version installed.
- Create a
.env
file with your credentials, following the.env.example
model:
EMPLOYER_CODE=12345
PIN=9876
TANGERINO_BASIC_TOKEN="Basic xeAxZyEwTOsPZKdlIA=="
SLACK_CHANNEL="#random"
SLACK_API_TOKEN="xoxp-22f3f6aa-1a75-452c-b023-5365db9409ae"
GREETING_MESSAGE="Hello world!"
GOODBYE_MESSAGE="Goodbye world!"
- Install dependencies:
pip install -r requirements.txt && cargo build
- Make changes to the app and run in:
cargo run