Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sailthru-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sailthru-cli

Command Line Interface for Sailthru API

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

sailthru-cli

Command Line Interface for Sailthru API as per http://docs.sailthru.com/api

CLI command is divided into 3 parts:

  • VERB: GET / DELETE / POST [Case insensitive; if non of them then, uses GET]
  • Action: Any valid actions listed onhttp://docs.sailthru.com/api
  • Payload Valid JSON payload like: {"email": "praj@infynyxx.com"}

Installation

npm install sailthru-cli -g

If node is not installed, install it from http://nodejs.org

Usage

Usage without config file

sailthru-cli --key *** --secret ***

Usage with config file

sailthru-cli --config ~/client.1226.json

If --url is not defined in the command or apiUrl is not present in the config file then, by default https://api.sailthru,com will be used which in most of the cases should work

Config File

{
    "apiKey": "****",
    "apiSecret": "***",
    "apiUrl": "https://api.sailthru.com"
}

JSON Payload

Valid Payload

{"email": "praj@infynyxx.com"}

Invalid Payload

{'email': "praj@infynyxx.com"}

Screenshot

Screenshot

FAQs

Package last updated on 20 Jan 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc