Coder Social home page Coder Social logo

quintinadam / printnode-ruby Goto Github PK

View Code? Open in Web Editor NEW

This project forked from printnode/printnode-ruby

0.0 1.0 0.0 151 KB

Ruby library to quickly add remote printing to your application using the PrintNode cloud printing service

Home Page: https://www.printnode.com

License: MIT License

Ruby 99.18% Shell 0.82%

printnode-ruby's Introduction

PrintNode-Ruby Gem Version

PrintNode is a cloud printing service which allows you to connect any printer to your applicatino using our PrintNode Client and easy to use JSON API.

This quick start guide covers using the Ruby API Library. There are examples to show how to use the API Library. It assumes that you have a PrintNode account.

##Installation

###Prerequisites

  • Ruby 1.9.x or Ruby 2.x.x
  • rubygems

###Installing from rubygems Simply install via gem install printnode with root privileges.

###Building and installing from gemspec Firstly, you need to build the gem via:

gem build printnode.gemspec

Then install it via gem install printnode-x.x.x.gem with root privileges.

##Quick Start

Firstly, make sure you require the library when using the code:

require 'printnode'

Then, you can start using the code:

auth = PrintNode::Auth.new("MyApiKey")
client = PrintNode::Client.new(auth)

myComputers = client.computers
myPrinters = client.printers

##Docs

a Ruby yardoc is included in PrintNode-Ruby/doc/ and are also available online.

printnode-ruby's People

Contributors

printnode-jake avatar irongaze avatar quintinadam avatar rjocoleman avatar jbsiddall avatar tomaszdurda avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.