Hebe API
Unofficial library for programmatic access to your Hebe account and your orders.
pip3 install hebe-api
Usage:
Obtaining Hebe security token
from hebe_api import Hebe
hebe = Hebe("HEBE_USERNAME", "HEBE_PASSWORD")
hebe.authenticate()
print(hebe.token)
or
from hebe_api import Hebe
hebe = Hebe()
hebe.authenticate("HEBE_USERNAME", "HEBE_PASSWORD")
print(hebe.token)
Obtaining user orders
orders = hebe.get_orders(start=0, max_orders=100)
order = orders[0]
order.id
order.position
order.date
order.price
order.price_str
order.packs
Obtaining products of particular order
products = hebe.get_order_products(order)
product = products[0]
product.title
product.subtitle
product.total_price_str
product.package_price_str
product.total_price
product.package_price
product.quantity
Obtaining all products
all_products = hebe.get_all_products(max_orders=100)
Roadmap
- polish API supporting:
.com
hebe API support