Project

api4over

0.0
No release in over 3 years
Low commit activity in last 3 years
As North America’s leading trade printer, we at 4over pride ourselves on providing our partners with world class quality, value and customer service. We’ve developed the 4over API as an efficient and affordable way for you to provide premium quality print products to your customers, saving you time and money.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 2.1.4
~> 13.0.1

Runtime

~> 0.18.0
 Project Readme

api4over_client

A Ruby client to access 4overs data from suppliers.

Currently, only interfaces some of the Product Data services.

Installation

Add this line to your application's Gemfile:

gem 'api4over',  git: 'https://github.com/hamza-azhar/api4over-client'

And then execute:

$ bundle

Usage

require 'api4over'

client = Api4Over::Client.new(
	private_key: 'YOUR PRIVATE KEY',
	public_key: "YOUR PUBLIC KEY",
	mode: "test / live" #optional. Default is 'test'
)

## Print Products

# Get all products
products = client.get_products(options={})

# Get all categories
client.get_categories(options={})

# Get all option groups
client.get_option_groups(options={})

# Get all product feeds
client.get_product_feeds(options={})

# Get all quantity discounts of a product
client.get_quantity_discounts(options={product_uuid: PRODUCT_UUID})

## Organizations

# Get all organizations
organizations = client.get_organizations(options={})

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hamza-azhar/api4over-client. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.