monday is a go client library for accessing the monday api v2
GraphiQL (an in-browser tool for writing, validating, and testing GraphQL queries
NewClient(mondayAPIToken, nil).Exec(context.Background(), NewQueryPayload(
NewBoardsWithArguments(
nil,
NewBoardsIDsArgument([]int{boardID}),
),
))
the code above executes the following query
query {
boards(ids: boardID) {
id
}
}
NewClient(mondayAPIToken, nil).Exec(context.Background(), NewMutationPayload(
Boards.Create(boardName, PublicBoardsKind(), nil),
))
the code above executes the following mutation
mutation {
create_board(board_name: boardName, board_kind: public) {
id
}
}