Models API
The models module provides data models for the 1WorldSync Content1 API responses.
Content1Product
- class oneworldsync.models.Content1Product(data)[source]
Bases:
objectModel representing a product from the 1WorldSync Content1 API
- __init__(data)[source]
Initialize a product from API data
- Parameters:
data (dict) – Product data from the API
Content1ProductResults
Content1Hierarchy
- class oneworldsync.models.Content1Hierarchy(data)[source]
Bases:
objectModel representing a product hierarchy from the 1WorldSync Content1 API
- __init__(data)[source]
Initialize a hierarchy from API data
- Parameters:
data (dict) – Hierarchy data from the API