import requests


def fetch_book(asin, response_groups=None):
    """
    Fetch information available from Audible about specific book.

    :param asin: ASIN of the book
    :param response_groups: Information if be fetched. If None, all info will be fetched
    :return: Response from Audible
    """
    if response_groups is None:
        response_groups = ["contributors", "media", "product_attrs", "product_desc", "product_extended_attrs",
                           "product_plan_details", "product_plans", "rating", "review_attrs", "reviews", "sample",
                           "sku", "series"]
    params = {
        "response_groups": ",".join(response_groups)
    }

    return requests.get(f"https://api.audible.co.uk/1.0/catalog/products/{asin}", params=params)