# PrintNode

Small [HTTPoison]( based wrapper around [PrintNode API](

## Installation

If [available in Hex](, the package can be installed
by adding `ex_printnode` to your list of dependencies in `mix.exs`:

def deps do
    {:ex_printnode, "~> 0.1.0"}

## Usage

Available methods - use with your API key:

PrintNode.Computers.list(api_key: printnode_api_key)
PrintNode.Computers.get(computer_set, api_key: printnode_api_key)

PrintNode.Printers.list(api_key: printnode_api_key)
PrintNode.Printers.list_by_computer(computer_set, api_key: printnode_api_key)
PrintNode.Printers.get(printer_set, api_key: printnode_api_key)

PrintNode.PrintJobs.list(api_key: printnode_api_key)
PrintNode.PrintJobs.get(printjob_set, api_key: printnode_api_key)

### Creating a Print Job

  title: "Test",
  content: "",
  contentType: "pdf_uri",
  source: "printjob-test",
  printer: 123456
|> PrintNode.PrintJobs.create(api_key: printnode_api_key)

Documentation can be generated with [ExDoc](
and published on [HexDocs]( Once published, the docs can
be found at [](