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
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
37
14k
GAEログのコスト削減
mot_techtalk
0
120
苦しいTiDBへの移行を乗り越えて快適な運用を目指す
leveragestech
0
580
Introduction to kotlinx.rpc
arawn
0
700
Unity Android XR入門
sakutama_11
0
160
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
160
GoとPHPのインターフェイスの違い
shimabox
2
190
動作確認やテストで漏れがちな観点3選
starfish719
6
1k
Pulsar2 を雰囲気で使ってみよう
anoken
0
240
Open source software: how to live long and go far
gaelvaroquaux
0
630
Software Architecture
hschwentner
6
2.1k
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
470
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
174
51k
4 Signs Your Business is Dying
shpigford
182
22k
Fireside Chat
paigeccino
34
3.2k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Six Lessons from altMBA
skipperchong
27
3.6k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Documentation Writing (for coders)
carmenintech
67
4.6k
Building an army of robots
kneath
303
45k
Into the Great Unknown - MozCon
thekraken
35
1.6k
How to train your dragon (web standard)
notwaldorf
91
5.8k
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!