code: func (c *Manager) GetCategory(ctx context.Context, id string) (*Category, error) {
  	if isName(id) {
  		cat, err := c.GetCategories(ctx)
  		if err != nil {
  			return nil, err
  		}
  
  		for i := range cat {
  			if cat[i].Name == id {
  				return &cat[i], nil
  			}
  		}
  	}
  	url := internal.URL(c, internal.CategoryPath).WithID(id)
  	var res Category
  	return &res, c.Do(ctx, url.Request(http.MethodGet), &res)
  }
docs: // GetCategory fetches the category information for the given identifier.
  // The id parameter can be a Category ID or Category Name.