Metadata-Version: 2.4
Name: recipes-sdk
Version: 0.2.0
Summary: Python SDK for working with recipes from JSON files
Home-page: https://github.com/krstnvt/recipes-dataset
Author: christiaansann
Author-email: 
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# Recipes SDK

Python SDK for working with recipes from JSON file.

## Installation

```bash
pip install -r requirements.txt
```

## Usage

```python
from recipes_sdk import RecipesSDK

# Create SDK instance
sdk = RecipesSDK(language="en")  # or "ru"

# Random recipe
recipe = sdk.get_random_recipe()

# With allergens and calories filtering
recipe = sdk.get_random_recipe(
    user_allergens=["nuts", "gluten"], 
    max_calories=300
)

# By category
breakfast = sdk.get_recipes_by_category("breakfast")
```

## API

- `get_random_recipe()` - random recipe (returns JSON)
- `get_recipes_by_category(category)` - all recipes from category (returns JSON)
- `get_random_recipe_by_category(category)` - random recipe from category (returns JSON)
- `get_all_categories()` - list of categories (returns JSON)
- `get_all_recipes()` - all recipes (returns JSON)

All methods support filtering by allergens and calories.
