RightRank
Constants
API = ENV["RIGHTRANK_API"]? || "https://rightrank.com/api/v1"
VERSION = "0.1.0"
Class methods
app
Sourcecommand(app, name, description, render : JSON::Any -> String, &body : ACON::Input::Interface -> String) : ACON::Command
Registers a command that prints the API body with --json, else the rendered body.
Performs a GET on the API. Specs replace it to avoid the network.