code: def help_center_categories_list(self, locale=None, sort_by=None, sort_order=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/help_center/categories#list-categories"
          api_path = "/api/v2/help_center/categories.json"
          if locale:
              api_opt_path = "/api/v2/help_center/{locale}/categories.json"
              api_path = api_opt_path.format(locale=locale)
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if sort_by:
              api_query.update({
                  "sort_by": sort_by,
              })
          if sort_order:
              api_query.update({
                  "sort_order": sort_order,
              })
          return self.call(api_path, query=api_query, **kwargsf help_center_categories_list(self, locale=None, sort_by=None, sort_order=None, **kwargs):
          "https://developer.zendesk.com/rest_api/docs/help_center/categories#list-categories"
          api_path = "/api/v2/help_center/categories.json"
          if locale:
              api_opt_path = "/api/v2/help_center/{locale}/categories.json"
              api_path = api_opt_path.format(locale=locale)
          api_query = {}
          if "query" in kwargs.keys():
              api_query.update(kwargs["query"])
              del kwargs["query"]
          if sort_by:
              api_query.update({
                  "sort_by": sort_by,
              })
          if sort_order:
              api_query.update({
                  "sort_order": sort_order,
              })
          return self.call(api_path, query=api_query, **kwargs)
docs: https://developer.zendesk.com/rest_api/docs/help_center/categories#list-categories