rename module pyrohlik to rohlik

This commit is contained in:
hlad 2024-11-17 10:38:58 +01:00
parent d10cef9705
commit e3ba823070
8 changed files with 1 additions and 1 deletions

13
rohlik/endpoints.py Normal file
View 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'