gettyup

command module
v0.0.0-...-b46715b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2016 License: MIT Imports: 11 Imported by: 0

README

gettyup GoDoc

GettyUp is a minimal Command Line Interface (CLI) for Getty Images' Enterprise Submission Portal (ESP).

You will need a username and password that allows you to log in to https://sandbox.espaws.com/ as well as an API Key and and API Secret, both of which are accessible at https://developer.gettyimages.com/apps/mykeys/.

These values can be provided on the command line as global options or set as environment variables (recommended).

Usage

Because GettyUp is a binary for CLI use, the Bash script integration_test.sh serves as a reference for the parameters needed for each command as well as an executable test of all of its functions. Basic usage examples are available in the GoDocs:

GoDoc

ESP Go SDK

GettyUp is intended to be a convenient wrapper around the interface provided by the ESP Go SDK. Full documentation is available via GoDoc:

GoDoc

Documentation

Overview

GettyUp is a minimal Command Line Interface (CLI) for Getty Images' Enterprise Submission Portal (ESP).

You will need a username and password that allows you to log in to https://sandbox.espaws.com/ as well as an API Key and and API Secret, both of which are accessible at https://developer.gettyimages.com/apps/mykeys/.

These values can be provided on the command line as global options or set as environment variables (recommended).

Retrieve a token needed for authenticating requests to the ESP API:

gettyup token

Get a list of all of your Submission Batches:

gettyup batch index

Retrieve a specific Submission Batch:

gettyup batch get -b 86102

Delete a specific Submission Batch:

gettyup batch delete -b 86125

Enable debug (verbose output) mode for any command with global option -D:

gettyup -D token
gettyup -D batch index
gettyup -D batch get -b 86102

List all of the Contributions in a specific Submission Batch:

gettyup contribution index -b 86102

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL