Inventory API objective-c client
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
InventoryClient
docs
test
LICENSE
README.md
git_push.sh
requirements.txt
setup.py
test-requirements.txt
tox.ini

README.md

InventoryClient

Orkiv Inventory API client

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build date: 2016-08-05T17:19:31.293-04:00
  • Build package: class io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/Orkiv/Inventory-python-client.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/Orkiv/Inventory-python-client.git)

Then import the package:

import InventoryClient 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import InventoryClient

Getting Started

Please follow the installation procedure and then run the following:

import time
import InventoryClient
from InventoryClient.rest import ApiException
from pprint import pprint

# Configure API key authorization: APIKey
InventoryClient.configuration.api_key['APIKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# InventoryClient.configuration.api_key_prefix['APIKey'] = 'Bearer'
# Configure API key authorization: AccountID
InventoryClient.configuration.api_key['accountid'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# InventoryClient.configuration.api_key_prefix['accountid'] = 'Bearer'
# create an instance of the API class
api_instance = InventoryClient.DefaultApi()

try:
    api_response = api_instance.all_get()
    pprint(api_response)
except ApiException as e:
    print "Exception when calling DefaultApi->all_get: %s\n" % e

Documentation for API Endpoints

All URIs are relative to https://www.orkiv.com/i/api

Class Method HTTP request Description
DefaultApi all_get GET /all/
DefaultApi categories_delete DELETE /categories/
DefaultApi categories_post POST /categories/
DefaultApi categories_put PUT /categories/
DefaultApi item_add_post POST /item/add/
DefaultApi item_addbulk_post POST /item/addbulk/
DefaultApi item_delete DELETE /item/
DefaultApi item_get GET /item/
DefaultApi item_media_delete DELETE /item-media/
DefaultApi item_media_post POST /item-media/
DefaultApi item_put PUT /item/
DefaultApi items_count_post POST /items/count/
DefaultApi items_post POST /items/
DefaultApi orders_post POST /orders/
DefaultApi orders_services_post POST /orders/services/
DefaultApi query_post POST /query/
DefaultApi services_delete DELETE /services/
DefaultApi services_get GET /services/
DefaultApi services_open_get GET /services/open/
DefaultApi services_post POST /services/
DefaultApi services_put PUT /services/
DefaultApi variation_delete DELETE /variation/
DefaultApi variation_get GET /variation/
DefaultApi variation_post POST /variation/
DefaultApi variation_put PUT /variation/
DefaultApi write_delete DELETE /write/
DefaultApi write_post POST /write/

Documentation For Models

Documentation For Authorization

APIKey

  • Type: API key
  • API key parameter name: APIKey
  • Location: HTTP header

AccountID

  • Type: API key
  • API key parameter name: accountid
  • Location: HTTP header

Author