Skip to content

Repository files navigation

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:

importInventoryClient

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:

importInventoryClient

Getting Started

Please follow the installation procedure and then run the following:

importtimeimportInventoryClientfromInventoryClient.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: APIKeyInventoryClient.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: AccountIDInventoryClient.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 classapi_instance=InventoryClient.DefaultApi()
try:
api_response=api_instance.all_get()
pprint(api_response)
exceptApiExceptionase:
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

ClassMethodHTTP requestDescription
DefaultApiall_getGET /all/
DefaultApicategories_deleteDELETE /categories/
DefaultApicategories_postPOST /categories/
DefaultApicategories_putPUT /categories/
DefaultApiitem_add_postPOST /item/add/
DefaultApiitem_addbulk_postPOST /item/addbulk/
DefaultApiitem_deleteDELETE /item/
DefaultApiitem_getGET /item/
DefaultApiitem_media_deleteDELETE /item-media/
DefaultApiitem_media_postPOST /item-media/
DefaultApiitem_putPUT /item/
DefaultApiitems_count_postPOST /items/count/
DefaultApiitems_postPOST /items/
DefaultApiorders_postPOST /orders/
DefaultApiorders_services_postPOST /orders/services/
DefaultApiquery_postPOST /query/
DefaultApiservices_deleteDELETE /services/
DefaultApiservices_getGET /services/
DefaultApiservices_open_getGET /services/open/
DefaultApiservices_postPOST /services/
DefaultApiservices_putPUT /services/
DefaultApivariation_deleteDELETE /variation/
DefaultApivariation_getGET /variation/
DefaultApivariation_postPOST /variation/
DefaultApivariation_putPUT /variation/
DefaultApiwrite_deleteDELETE /write/
DefaultApiwrite_postPOST /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

About

Inventory API objective-c client

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages