Warning
user must be authenticated
Since all the below mentioned methods require GistName/GistID. GistName is provided only when calling methods for your own Gists. Whereas GistID can be provided for all.
GistID of other users’ Gist can be easily extracted without opening browser. Refer to the Search User’s gists section
Check any Gist for a star by providing Gistname(if that Gist belongs to you) or GistID.
Note
Input
- name/id
provide name only if that gist belongs to you , provide id for checking correspondong GistRequired
GHgist.do().checkifstar(id='_GISTID')
# provide your Gistname
GHgist.do().checkifstar(name='_YOUR_GISTNAME')
Star any Gist by providing Gistname(if that Gist belongs to you) or GistID.
Note
Input
- name/id
provide name only if that gist belongs to you , provide id for starring corresponding GistRequired
GHgist.do().star(id='_GISTID')
# provide your Gistname
GHgist.do().star(name='_YOUR_GISTNAME')
UnStar any Gist by providing Gistname(if that Gist belongs to you) or GistID.
Note
Input
name/id
provide name only if that gist belongs to you , provide id for unstarring corresponding Gist
Required
GHgist.do().unstar(id='_GISTID')
# provide your Gistname
GHgist.do().unstar(name='_YOUR_GISTNAME')
Fork other’s Gist by providing GistID.
Note
Input
- id
provide id for forking corresponding GistRequired
GHgist.do().fork(id='_GISTID')