morganism

morganism / get_token / 0.1.1

README.md

Overview

Request an API token from RemoteLock

Applicable Scenarios and Problems

What scenarios or problems would this algorithm work well in?

Usage

Input

HTTPS Header fields and format

JSON { key: value }

ParameterDescription
x-secretHeader parameter that identifies valid request

What data pre-processing would be great to perform on the input before calling this algorithm?

Output

JSON

ParameterDescription
tokenThe API token.
expires_atUnix Epoch timestamp when toke expires.

Examples

Provide and explain examples of input and output for your algorithm.