def fetch(self, category=CATEGORY_CRATES, from_date=DEFAULT_DATETIME):
if not from_date:<EOL><INDENT>from_date = DEFAULT_DATETIME<EOL><DEDENT>from_date = datetime_to_utc(from_date)<EOL>kwargs = {"<STR_LIT>": from_date}<EOL>items = super().fetch(category, **kwargs)<EOL>return items<EOL>
Fetch package data.

        The method retrieves packages and summary from Crates.io.

        :param category: the category of items to fetch
        :param from_date: obtain packages updated since this date

        :returns: a summary and crate items