def METHOD_NAME(context: Context):
    data = context.fetch_json(context.data_url)
    for country in data:
        for legislature in country.get("legislatures", []):
            code = country.get("code").lower()
            context.log.info("Country: %s" % code)
            crawl_legislature(context, code, legislature)