thesuhu

Github API

Jul 29th, 2021 (edited)
830
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # API repo di github, contoh:
  2. curl https://api.github.com/repos/github/gitignore
  3.  
  4. # API user di github
  5. curl -i https://api.github.com/repos/github/gitignore
  6. curl https://api.github.com/repos/github/gitignore
  7.  
  8. # API GET topics repo
  9. curl -H "Accept: application/vnd.github.mercy-preview+json" https://api.github.com/repos/github/gitignore/topics
RAW Paste Data