diff --git a/src/budy/product.py b/src/budy/product.py index 8f8c891..d5ae059 100644 --- a/src/budy/product.py +++ b/src/budy/product.py @@ -52,3 +52,12 @@ def get_product(self, id): url = self.base_url + "products/%d" % id contents = self.get(url, auth = False) return contents + + def get_product_related(self, id, *args, **kwargs): + url = self.base_url + "products/%d/related" % id + contents = self.get( + url, + auth = False, + **kwargs + ) + return contents