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
210
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
TypeScriptの型とパフォーマンス (TSKaigi 2024)
ypresto
14
5.1k
Productivity is Messing Around and Having Fun
hollycummins
1
190
ServerAction で Progressive Enhancement はどこまで頑張れるか? / progressive-enhancement-with-server-action
takefumiyoshii
6
520
RaaP
ksss
0
160
JS RPCを理解する
yusukebe
5
300
FoodGram
iseruuuuu
0
230
TSKaigi 2024 - 新サービス Progate Path の演習で TypeScript を採用して見えた教材観点からの利点と課題
makotoshimazu
1
230
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
350
Adding Security to Microcontroller Ruby
sylph01
1
170
freeeのエンジニアが 就活で出そうな コーディングテストを 解説してみる
freee
1
180
Jetpack Composeとデザインシステム
rmakiyama
0
240
チーム立ち上げにAWSを活用したらClaudeさんに褒められた話
mkdev10
3
230
Featured
See All Featured
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.5k
RailsConf 2023
tenderlove
9
590
Web Components: a chance to create the future
zenorocha
306
41k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Unsuck your backbone
ammeep
664
57k
Documentation Writing (for coders)
carmenintech
60
4k
Building Effective Engineering Teams - LeadDev
addyosmani
33
1.9k
GraphQLの誤解/rethinking-graphql
sonatard
56
9.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
67
14k
Optimizing for Happiness
mojombo
371
69k
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!