def METHOD_NAME(self):
    self.snap_name = "toto"
    self.api_url = "".join(
        [
            "https://api.snapcraft.io/v2/",
            "snaps/info/",
            self.snap_name,
            "?",
            urlencode(
                {
                    "fields": ",".join(
                        [
                            "title",
                            "summary",
                            "description",
                            "license",
                            "contact",
                            "website",
                            "publisher",
                            "media",
                            "download",
                            "version",
                            "created-at",
                            "confinement",
                            "categories",
                            "trending",
                            "unlisted",
                            "links",
                        ]
                    )
                }
            ),
        ]
    )
    self.badge_url = "/" + self.snap_name + "/badge.svg"
    self.trending_url = "/" + self.snap_name + "/trending.svg"