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
Python 2.7 and 3.4+
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:
importInventoryClientInstall via Setuptools.
python setup.py install --user(or sudo python setup.py install to install the package for all users)
Then import the package:
importInventoryClientPlease 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"%eAll 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/ |
- Category
- Error
- EventRequest
- InventoryGroup
- Item
- ItemRequest
- Order
- OrderRequest
- Response
- Service
- ServiceRequest
- Variation
- Type: API key
- API key parameter name: APIKey
- Location: HTTP header
- Type: API key
- API key parameter name: accountid
- Location: HTTP header