[Tutorial] - How to use GitHub REST API for Beginners

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 42

  • @AndysTechTutorials
    @AndysTechTutorials  Год назад +1

    Updated Video for 2023: GitHub API Tutorial | 2023
    ruclips.net/video/-kFyPaHNgXo/видео.html
    Also, here’s a link to download my Postman collection files that contains all of the API calls that I have made in this video and all my other API tutorial videos for whatever price you want (or download for free by typing $0).
    Once you import these files and populate your environment variables, you can start easily making the same API calls I did in the tutorial: andystechtutorials.gumroad.com/l/sqbuh!

  • @crackeron123
    @crackeron123 Год назад +4

    That was just perfect for begginers. This video clarified me a lot of things. Thankss!

    • @AndysTechTutorials
      @AndysTechTutorials  Год назад

      Hey Crackeron! You’re welcome and glad you found this tutorial helpful! Please consider subscribing for more content like this!

  • @marwanzaky9893
    @marwanzaky9893 2 года назад +2

    I'm using my token on a project, it's open source on GitHub, is that safe??

    • @AndysTechTutorials
      @AndysTechTutorials  2 года назад

      Hey Marwan, it’s safe to use as long as you don’t upload it to GitHub during a commit

    • @marwanzaky9893
      @marwanzaky9893 2 года назад +1

      @@AndysTechTutorials Aha... got it tnx!!

  • @ulisesmunoz9915
    @ulisesmunoz9915 2 года назад +3

    You're my hero, Thanks a lot for the video. Great job! I really needed this video in this moment.

  • @stith_pragya
    @stith_pragya Год назад +2

    Thank You So Much for this wonderful video......🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @anthonybateman8470
    @anthonybateman8470 2 года назад +4

    Great intro - just what I was looking for! Thank you 🙂

  • @illuminach8279
    @illuminach8279 8 месяцев назад +3

    Perfect for beginners!

  • @axelasa277
    @axelasa277 Год назад +1

    Hey @Andy's Tech Tutorials, you don't need to tell me please subscribe. the minute you finished showing me the Github repos I knew I needed you in my life, hehe. good stuff mate.

  • @gustavomonte6672
    @gustavomonte6672 Год назад +1

    Jesus! Way better than their current docs on"Getting started with the REST API" trying to push down that /octocat everywhere zzzz tks mate!

    • @AndysTechTutorials
      @AndysTechTutorials  Год назад

      Hey @gustavomonte6672, you’re welcome! Glad to be able to help!

  • @user-lb7eu1xc8u
    @user-lb7eu1xc8u 4 месяца назад

    Can I access any other GitHub profile using my token

    • @AndysTechTutorials
      @AndysTechTutorials  4 месяца назад +1

      Hey there! You can only access the Github profile you made the token with and not any other GitHub profile

  • @arnav_0397
    @arnav_0397 2 года назад +1

    I want to create fork like functionality in my application, can you tell, Is there anyway using github apis or something?

    • @AndysTechTutorials
      @AndysTechTutorials  2 года назад

      Hey iamArnav, yes there is a GitHub API that allows you fork a repo. Here a link with more info: docs.github.com/en/rest/reference/repos#create-a-fork

  • @al_mokrousov
    @al_mokrousov Год назад

    [2023] Private repos not able to show with personal token, Hundred of people are complaining about it. They even do some actions with them, but not show in the list. Shit!
    Does somebody know how to solve the issue?
    I tried to give all credentials to token and disable protection for branch protection for API
    did not help

    • @AndysTechTutorials
      @AndysTechTutorials  Год назад +1

      Hey Мокроусов, I am able to make an api call to api.github.com/user/repos with my personal access token and see a list of my public and private GitHub repos.

  • @KarinaVillanesRojas
    @KarinaVillanesRojas Год назад +1

    Great video! How can I get only the closed issues?

    • @AndysTechTutorials
      @AndysTechTutorials  Год назад

      Hey Karina, thanks for the comment! If you go to docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#list-repository-issues, you can make an api call to the endpoint ( api.github.com/repos/OWNER/REPO/issues
      ) and pass "state=closed" as a query parameter to get closed issues.
      Hopefully that helps!

  • @nikhilraj8460
    @nikhilraj8460 2 года назад +1

    Is there anyway we can make unlimited API calls?

    • @AndysTechTutorials
      @AndysTechTutorials  2 года назад

      Hey Nikhil, it depends on the plan you are on and the type of api requests.
      You can read more here: docs.github.com/en/rest/overview/resources-in-the-rest-api#rate-limiting

  • @rameshjanaki4316
    @rameshjanaki4316 2 года назад +1

    Hi Andy
    It's a good video about github api.
    I have to list users who are not setup their display names using github api.
    But I didn't find anything about that So Can you please help me ?
    Thanks.

    • @AndysTechTutorials
      @AndysTechTutorials  2 года назад

      Hi Ramesh! Thanks for the comment!
      For your questions, are you trying to get a list of users’ GitHub display names?
      If so, they don’t need to interact with the GitHub api for you to get their display name.
      All GitHub users will have a display name when they create the account. If you use the api call that I used in the video, the “login” field should be their display name.
      Hopefully that helps!

    • @Anibulan100
      @Anibulan100 2 года назад +1

      How can I find the email ids of all the users in github organisation?

    • @AndysTechTutorials
      @AndysTechTutorials  2 года назад

      Hi AD The Explorer, there is an API to list all members of a GitHub organization here: docs.github.com/en/rest/reference/orgs#list-organization-members.
      However, there are no GitHub APIs that will show you a GitHub's user's email address unless it is your own account.

  • @abdullahraheel861
    @abdullahraheel861 2 года назад +2

    To the point and precise, awesome video.

    • @AndysTechTutorials
      @AndysTechTutorials  2 года назад +1

      Hey Abdullah, I do my best to keep my videos as concise as possible! Glad you found it helpful!

  • @GabrielPaivaB
    @GabrielPaivaB Год назад +1

    thanks, it helped me so much

    • @AndysTechTutorials
      @AndysTechTutorials  Год назад +1

      Hey Gabriel, glad it helped! Please consider subscribing for more content!

  • @SaudBako
    @SaudBako Год назад +1

    The font is too small.

    • @AndysTechTutorials
      @AndysTechTutorials  Год назад +1

      Hey Saud, thanks for the feedback! I will keep that in mind for future videos!

  • @SreekanthReddy22
    @SreekanthReddy22 Год назад

    Hi Andy, is there any way that the pull request author and reviewer can be same? I am trying to create an end-end pull request raise to merge to master using github APIs?

    • @bharatmehta30
      @bharatmehta30 Год назад

      Hi Sreekanth
      I am also working on this same thing. Did you create the script

  • @DaveTheDeveloper
    @DaveTheDeveloper 2 года назад +1

    Solid tutorial. Thx mate

    • @AndysTechTutorials
      @AndysTechTutorials  2 года назад +1

      Thanks for the comment! Glad to be able to help!

    • @DaveTheDeveloper
      @DaveTheDeveloper 2 года назад +1

      @@AndysTechTutorials was too lazy to read the docs, summed it up pretty good ^^