1# Generated by scripts/unasync.py from src/wow/_async/resources/recipe.py. Do not edit.
2"""Routes of the Recipe API."""
3
4from wow._sync._resource import Resource
5from wow.models._common import Media
6from wow.models.recipe import Recipe
7
8__all__ = ["Recipes"]
9
10
[docs]
11class Recipes(Resource):
12 """``client.recipes``: profession recipes. A profession's skill tiers list their recipes."""
13
14 __slots__ = ()
15
[docs]
16 def get(self, recipe_id: int) -> Recipe:
17 """Get one recipe by id, with what it makes and its reagents."""
18 return self._get("static", f"/data/wow/recipe/{recipe_id}", Recipe)
19