rename module pyrohlik to rohlik
This commit is contained in:
parent
d10cef9705
commit
e3ba823070
8 changed files with 1 additions and 1 deletions
13
rohlik/endpoints.py
Normal file
13
rohlik/endpoints.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from apiclient import endpoint
|
||||
|
||||
@endpoint(base_url='https://www.rohlik.cz')
|
||||
class Endpoints:
|
||||
product: str = 'api/v1/products/{product_id}'
|
||||
order: str = 'api/v3/orders/{order_id}'
|
||||
orders_delivered: str = 'api/v3/orders/delivered'
|
||||
recipe: str = 'services/frontend-service/recipe/{recipe_id}'
|
||||
prices: str = 'api/v1/products/{product_id}/prices'
|
||||
stock: str = 'api/v1/products/{product_id}/stock'
|
||||
description: str = 'api/v1/products/{product_id}/description'
|
||||
composition: str = 'api/v1/products/{product_id}/composition'
|
||||
cart: str = 'api/v2/cart'
|
||||
Loading…
Add table
Add a link
Reference in a new issue