Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The GitHub API — Lightning introduction
Search
James Dennes
June 07, 2014
Programming
5
220
The GitHub API — Lightning introduction
A lightning introduction to the GitHub API for the Hamburg Hackathon, June 2014.
James Dennes
June 07, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
260
GoとPHPのインターフェイスの違い
shimabox
2
200
未経験でSRE、はじめました! 組織を支える役割と軌跡
curekoshimizu
1
120
技術を改善し続ける
gumioji
0
110
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
650
『品質』という言葉が嫌いな理由
korimu
0
180
Unity Android XR入門
sakutama_11
0
170
Conform を推す - Advocating for Conform
mizoguchicoji
3
710
Jakarta EE meets AI
ivargrimstad
0
200
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
210
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
1
210
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
830
Featured
See All Featured
The Invisible Side of Design
smashingmag
299
50k
4 Signs Your Business is Dying
shpigford
182
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
Building Your Own Lightsaber
phodgson
104
6.2k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Why Our Code Smells
bkeepers
PRO
336
57k
Mobile First: as difficult as doing things right
swwweet
223
9.4k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
What's in a price? How to price your products and services
michaelherold
244
12k
Gamification - CAS2011
davidbonilla
80
5.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Transcript
The GitHub API ⚡️
Ivan Žužak @izuzak Helpers Mike Adolphs @fooforge James Dennes @jdennes
What can you build?
Do something creative with Contributions
Build a Dashboard
Integrate with something using Webhooks ⚓️
Docs
Octokit
Third-party Libraries
Debugging ✨ curl -v or it didn’t happen
Rate Limits › curl -I https://api.github.com/users/defunkt/repos HTTP/1.1 200 OK Server:
GitHub.com X-RateLimit-Limit: 60 X-RateLimit-Remaining: 59 X-RateLimit-Reset: 1401815393 Unauthenticated: 60 requests per hour Authenticated: 5,000 requests per hour
Pagination › curl -I https://api.github.com/users/defunkt/repos HTTP/1.1 200 OK Server: GitHub.com
Link: <https://api.github.com/user/2/repos?page=2>; rel=“next", <https://api.github.com/user/2/repos?page=4>; rel="last" Don’t get trolled by pagination
Thanks!