def categories(self, limit=<NUM_LIT:20>, offset=<NUM_LIT:0>, country=None, locale=None):
route = Route('<STR_LIT:GET>', '<STR_LIT>')<EOL>payload = {'<STR_LIT>': limit, '<STR_LIT>': offset}<EOL>if country:<EOL><INDENT>payload['<STR_LIT>'] = country<EOL><DEDENT>if locale:<EOL><INDENT>payload['<STR_LIT>'] = locale<EOL><DEDENT>return self.request(route, params=payload)<EOL>
Get a list of categories used to tag items in Spotify.

        Parameters
        ----------
        limit : Optional[int]
            The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
        offset : Optional[int]
            The index of the first item to return. Default: 0
        country : COUNTRY_TP
            COUNTRY
        locale : LOCALE_TP
            LOCALE