npm.io
0.2.0 • Published 8 years agoCLI

join-api

Licence
MIT
Version
0.2.0
Deps
5
Vulns
1
Weekly
0

join-api

An unofficial command-line interface for Join by Joaoapps.

Installation

$ npm install --global join-api

Command-Line Usage

You will need your Join API key and device IDs, which you can get from the Join web interface.

To store your API key (this is important, sending won't work without it):

$ join-api set-key
Enter your API key: ******************************** # <-- Your API key

To add a device

$ join-api add-device <Your device ID> 'My Phone'

To send a URL to your device

$ join-api send --device 'My Phone' --url https://gitlab.com/

For full usage documentation, use join-api -h or join-api help.

Usage in NodeJS

This package can also be imported as a module. Simply require('join-api')