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
MCP with Cloudflare Workers
yusukebe
2
220
return文におけるstd::moveについて
onihusube
1
940
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
Recoilを剥がしている話
kirik
5
6.6k
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
42 best practices for Symfony, a decade later
tucksaun
1
180
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
3
1.1k
Security_for_introducing_eBPF
kentatada
0
110
良いユニットテストを書こう
mototakatsu
5
1.9k
14 Years of iOS: Lessons and Key Points
seyfoyun
1
770
Featured
See All Featured
Side Projects
sachag
452
42k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Code Reviewing Like a Champion
maltzj
520
39k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Building Your Own Lightsaber
phodgson
103
6.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Navigating Team Friction
lara
183
15k
Bash Introduction
62gerente
608
210k
The Cult of Friendly URLs
andyhume
78
6.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
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!