github REST API v3 Crash Course with Vanilla Javascript (No dependencies)

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 63

  • @hnasr
    @hnasr  5 років тому +15

    00:00:50 Table of contents: 00:03:47 section1 - Search repos 00:04:30 Code starts 00:06:18 nodejs server 00:08:50 github api code starts 00:13:00 query string video 00:23:19 section 2 - Search issues 00:30:48 section 3 - Search commits 00:41:40 lazy fetch 00:42:00 section 4 - Pagination 00:55:10 Section 5 - Authorization 01:07:00 section 6 - Creating Issues
    Here are the jump codes so you can conveniently jump to the section your excited about.

    • @hnasr
      @hnasr  4 роки тому

      i added chapters!

    • @eduardojreis
      @eduardojreis 4 роки тому

      @@hnasr Can you break lines?

  • @evgenysumaev882
    @evgenysumaev882 5 років тому +11

    Thank you!
    It is so clear! And especially thanks for your funny and positive style!

    • @hnasr
      @hnasr  5 років тому +3

      Evgeny Sumaev thank you soo much! Really happy you enjoyed it :)

  • @billyrumbiak19
    @billyrumbiak19 5 днів тому

    Hi, your videos so helpful. I'm new here try to learn JavaScript and use a REST API Github and I really really struggled to use a REST API Github but you made my day, your videos so easy to understand. Thank you very much! 😃

  • @pradipspeaks9395
    @pradipspeaks9395 3 роки тому +1

    Loved it. This is exactly what I am looking for.
    How to create a pull request through GitHub Rest api? Just a 10 mins video would help a lot, in JavaScript of course.

  • @deathinheels8148
    @deathinheels8148 5 років тому +2

    I've always heard of github. I never knew what it was until your intro. 😁

    • @hnasr
      @hnasr  5 років тому +1

      Yay thanks for watching

  • @wtfwtf3900
    @wtfwtf3900 4 роки тому +2

    Coolish! Amazing tutorial bro.Big thank you)

  • @__Y1a2s3h4__
    @__Y1a2s3h4__ 5 років тому +4

    Great man !
    Oh I remember that you write html:5 instead of we can use. ! And tab for that boilerplate

    • @hnasr
      @hnasr  5 років тому +2

      NO WAY! This is a great tip thanks for sharing, will keep using it ! better than html:5 thanks for your comment..

    • @__Y1a2s3h4__
      @__Y1a2s3h4__ 5 років тому

      @@hnasr I have also created web app using GitHub api which help us to find profile and would display it's repos and there would be option of visit and download too

  • @aliaaramzani
    @aliaaramzani 4 роки тому +1

    Wow this is awesome. Subscribed for sure. Looking forward to watch more videos from you
    Thank you for helping me understand. This was fun to watch

    • @hnasr
      @hnasr  4 роки тому

      Aliaa Ramzani thanks Aliaa! Glad you enjoyed the content!

  • @mwaqze
    @mwaqze 4 роки тому

    The best ever! Most importantly, the cool, friendly and humorous attitude you have adopted.

    • @hnasr
      @hnasr  4 роки тому

      Thanks Waqas!!

    • @mwaqze
      @mwaqze 4 роки тому

      @@hnasr It's Waqas☺

    • @hnasr
      @hnasr  4 роки тому

      Yes! Typo sorry badass name

  • @andrescastillo2863
    @andrescastillo2863 5 років тому +3

    Beautiful.
    This is what I need

    • @hnasr
      @hnasr  5 років тому +1

      Andres Castillo enjoy!

  • @cydef9
    @cydef9 4 роки тому

    Thank you it was really clear and easy to understand ! No wonder there is no dislike. Thumb up 👍

    • @hnasr
      @hnasr  4 роки тому +1

      SOTRetro thank you 🙏 appreciate your comment.. oh yeah I Just notice no dislikes! That is a first

    • @cydef9
      @cydef9 4 роки тому

      @@hnasr Not a common thing I have to say. Well done !

  • @sabuein
    @sabuein 2 роки тому

    Thank you so much, Hussein.

  • @SahraClayton
    @SahraClayton 4 роки тому +1

    Great tutorial, just what I needed

    • @hnasr
      @hnasr  4 роки тому

      Hollywood BS enjoy! Glad it helps 🙏

    • @SahraClayton
      @SahraClayton 4 роки тому

      @@hnasr As a beginner to web development it's nice to come across someone with your teaching style and sense of humour

  • @Embargo27
    @Embargo27 3 роки тому +1

    phenomenal video.

  • @pastuh
    @pastuh 4 роки тому

    For pagination works this:
    return {
    url : ready_link[0].trim().substring(1).slice(0, -1),
    title : ready_link[1].trim()
    }

  • @tylerlozano152
    @tylerlozano152 4 роки тому

    Great video, thanks for the lowdown

  • @MrArtemman
    @MrArtemman 5 років тому

    It is necessary to me that the tool built the buffer around points/lines/grounds of the chosen layer.
    Such tool is necessary: we set a buffer layer, the size of the buffer and a layer of search that is if the buffer touched an object of this layer, then its table of attributes is output.

  • @rodrigoqueiroz1702
    @rodrigoqueiroz1702 4 роки тому

    Awesome!

  • @DeepakSharma-py7bd
    @DeepakSharma-py7bd 3 роки тому

    Please create a video to run workflow/jobs via api

  • @mohammadahmedragab837
    @mohammadahmedragab837 4 роки тому

    your explanation is great and easy to understand, Allah blesses you ❤️

  • @hugoblanc1999
    @hugoblanc1999 5 років тому

    Really cool video

  • @mdnumanahmed9938
    @mdnumanahmed9938 3 роки тому

    Thanks bro 🙏

  • @Tanzeel431
    @Tanzeel431 5 років тому

    Thanks Hussein. But I want to get total number of repos and total number of contributions. Just the figures and thats all. Which API should I use and how?

  • @christophermcanally1246
    @christophermcanally1246 4 роки тому

    Small note, better way to run http-server is `npx http-server .`

    • @hnasr
      @hnasr  4 роки тому

      Christopher McAnally thanks Chris! Can you explain the difference (not familiar with npx)

    • @christophermcanally1246
      @christophermcanally1246 4 роки тому

      @@hnasr Sorry I should have been more specific, npx will check to see if you have the latest version before running the command and installing if needed, whereas npm will install it and you'll have to manually check for updates.
      stackoverflow.com/questions/50605219/difference-between-npx-and-npm

    • @christophermcanally1246
      @christophermcanally1246 4 роки тому

      @@hnasr Also thanks for this course, good review material before starting a side-project using github's api.

    • @hnasr
      @hnasr  4 роки тому

      Thanks Chris!! Neat tool

  • @tacticalmanx759
    @tacticalmanx759 3 роки тому

    How do you view code from a private github repository that you own?

  • @ankitwankhede2982
    @ankitwankhede2982 2 роки тому

    Hi , how to get all issues in a repo instead of just 30 ?

  • @anaslatique7468
    @anaslatique7468 5 років тому +1

    Hi how can I get the most starred repositories??

    • @anaslatique7468
      @anaslatique7468 5 років тому

      I tried this: api.github.com/search/repositories?q=sort=stars&order=desc and not the repos I expected! please help!!!!

  • @sairampasupuleti8089
    @sairampasupuleti8089 2 роки тому

    I was using search issues api to list pull requests in private repo also i m sending autorization token but i m getiing status as 200 but although i have prs getting empty can u pleasw help

  • @RICO-sr2fn
    @RICO-sr2fn 4 роки тому

    how to get last commit date?

  • @anaslatique7468
    @anaslatique7468 5 років тому

    what is the query to get most starred repos

    • @hnasr
      @hnasr  5 років тому +1

      Anas Latique not sure if there is one, but you can get all repos with 10000 stars and more and you should get a few, sort and you should have it... I thought i did that in the video.. github.com/search?q=stars%3A%3E%3D500+fork%3Atrue+language%3Aphp&type=Repositories

  • @pruceuchiha8990
    @pruceuchiha8990 4 роки тому

    hey "api.github.com/search/issues?q=repo:${this.state.searchTerm}/testprivate type:issue" when i use this i am able to list my issues in the private repo but who do i list the private repo itself ?

    • @hnasr
      @hnasr  4 роки тому

      Hey, change “issues?” to “repositories?” Check this out developer.github.com/v3/search/#search-repositories

  • @MrArtemman
    @MrArtemman 5 років тому

    hi, can you help me with my arcobjects assignment? please

    • @hnasr
      @hnasr  5 років тому +2

      Артем Мавлютов try my best hit me up on facebook group , details here husseinnasser.com

    • @MrArtemman
      @MrArtemman 5 років тому

      @@hnasr you help me?

    • @hnasr
      @hnasr  5 років тому +1

      Артем Мавлютов sure i can help can you post the question here ? m.facebook.com/igeometry/

    • @MrArtemman
      @MrArtemman 5 років тому

      @@hnasr I wrote to you to private messages

    • @hnasr
      @hnasr  5 років тому +1

      Артем Мавлютов thanks just replied there.

  • @hessaa1712
    @hessaa1712 3 роки тому

    your password is I love kana XD???

    • @hnasr
      @hnasr  3 роки тому +1

      احبك انا yes haha

  • @juanpumpkinpie6550
    @juanpumpkinpie6550 3 роки тому

    interesting video on mute (extremely annoying voice and fake expressions of this guy explaining )🤦🏼