Documentation ¶
Index ¶
- Constants
- func CreateTask(accessToken string, listId string, name string, description string) (*model.ClickUpTask, error)
- func GetAccessToken(ctx context.Context, code string) (*oauth2.Token, error)
- func GetFolderlessLists(accessToken string, spaceId string) ([]*model.ClickUpList, error)
- func GetFolders(accessToken string, spaceId string) ([]*model.ClickUpFolder, error)
- func GetSpaces(accessToken string, teamId string) ([]*model.ClickUpSpace, error)
- func GetTeams(accessToken string) ([]*model.ClickUpTeam, error)
- type AccessTokenResponse
Constants ¶
View Source
const ApiBaseUrl = "https://api.clickup.com/api/v2"
Variables ¶
This section is empty.
Functions ¶
func CreateTask ¶
func GetFolderlessLists ¶
func GetFolderlessLists(accessToken string, spaceId string) ([]*model.ClickUpList, error)
func GetFolders ¶
func GetFolders(accessToken string, spaceId string) ([]*model.ClickUpFolder, error)
Types ¶
type AccessTokenResponse ¶
type AccessTokenResponse struct {
AccessToken string `json:"access_token"`
}
Click to show internal directories.
Click to hide internal directories.