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
as(型アサーション)を書く前にできること
marokanatani
10
2.7k
Ethereum_.pdf
nekomatu
0
460
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
300
役立つログに取り組もう
irof
28
9.6k
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.4k
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
どうして僕の作ったクラスが手続き型と言われなきゃいけないんですか
akikogoto
1
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
macOS でできる リアルタイム動画像処理
biacco42
9
2.4k
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
It's Worth the Effort
3n
183
27k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Visualization
eitanlees
145
15k
GitHub's CSS Performance
jonrohan
1030
460k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
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!