ProjectCard

class github.ProjectCard.ProjectCard

This class represents Project Cards. The reference can be found here https://docs.github.com/en/rest/reference/projects#cards

archived
Type:bool
column_url
Type:string
content_url
Type:string
created_at
Type:datetime.datetime
creator
Type:github.NamedUser.NamedUser
id
Type:integer
node_id
Type:string
note
Type:string
updated_at
Type:datetime.datetime
url
Type:string
get_content(content_type=NotSet)
Calls:GET /repos/{owner}/{repo}/pulls/{number}
Parameters:content_type – string, optional
Return type:github.PullRequest.PullRequest or github.Issue.Issue
move(position, column)
Calls:

POST /projects/columns/cards/{card_id}/moves

Parameters:
Return type:

bool

delete()
Calls:DELETE /projects/columns/cards/{card_id}
Return type:bool
edit(note=NotSet, archived=NotSet)
Calls:

PATCH /projects/columns/cards/{card_id}

Parameters:
  • note – string
  • archived – bool
Return type:

None