1.4.0 • Published 5 years ago

print-api v1.4.0

Weekly downloads
15
License
MIT
Repository
github
Last release
5 years ago

npm-gelato-api

Promise wrapper for interacting with Gelato Print API

Installation

npm install print-api

Initiating print api

For all request we require a valid API KEY. Apply for API key here

const gelato = require('print-api')('<YOUR API KEY>', {
	test: true
});

Methods

Example

Get an example request body for a quote request

gelato.example()

Quote

Get a price and delivery quote for the specified product

gelato.quote(<options>)

Order

Place an order with a specific price and delivery promise

gelato.order(<promiseUid>)

Status

Check status of an order

gelato.status(<orderReferenceId>)

Cancel

Cancel an order, available until the Job is sent for printing

gelato.cancel(<orderReferenceId>)
1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago