Skip to content

Instantly share code, notes, and snippets.

@ara-ta3
Created July 2, 2017 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ara-ta3/204a3fdccbd96100fba8430cd1c46c3e to your computer and use it in GitHub Desktop.
Save ara-ta3/204a3fdccbd96100fba8430cd1c46c3e to your computer and use it in GitHub Desktop.
token=
number=
owner=
repo=
list:
curl 'https://api.github.com/repos/$(owner)/$(repo)/pulls?access_token=$(token)&state=open'
detail:
curl 'https://api.github.com/repos/$(owner)/$(repo)/pulls/$(number)?access_token=$(token)'
issues:
curl 'https://api.github.com/repos/$(owner)/$(repo)/issues?access_token=$(token)&state=open'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment