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
Fukuoka.rb #150 LT
Search
jinroq
September 18, 2019
Programming
0
260
Fukuoka.rb #150 LT
jinroq
September 18, 2019
Tweet
Share
More Decks by jinroq
See All by jinroq
Fukuoka.rb 2023 年度活動報告
jinroq
0
400
TRICK 2022 に入選した話
jinroq
0
220
RubyKaigiとMicrosoftと私
jinroq
0
180
msgraph: Microsoft Graph API Client with Ruby
jinroq
0
270
Fukuoka.rb 2019活動報告・2020抱負
jinroq
0
250
福岡の方から参りました Fukuoka.rb です
jinroq
0
1.7k
Microsoft Graph API Client and OpenAPI
jinroq
0
960
5 分で分かるアイキューブドシステムズ
jinroq
0
540
Fukuoka.rb 2019年度上半期活動報告
jinroq
0
2.7k
Other Decks in Programming
See All in Programming
命名をリントする
chiroruxx
1
390
Refactor your code - refactor yourself
xosofox
1
260
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
740
プロダクトの品質に コミットする / Commit to Product Quality
pekepek
2
770
ドメインイベント増えすぎ問題
h0r15h0
1
280
Jakarta EE meets AI
ivargrimstad
0
240
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
Go の GC の不得意な部分を克服したい
taiyow
2
770
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
MCP with Cloudflare Workers
yusukebe
2
220
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
137
6.7k
KATA
mclloyd
29
14k
Building Adaptive Systems
keathley
38
2.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Side Projects
sachag
452
42k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
YesSQL, Process and Tooling at Scale
rocio
169
14k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
It's Worth the Effort
3n
183
28k
Mobile First: as difficult as doing things right
swwweet
222
9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Transcript
αʔυύʔςΟʔ SDK ։ൃ Fukuoka.rb #149/150 ߹ซ߸ LT ODA Hirohito
࠷ۙ Fukuoka.rb Ͱ͍ͬͯΔ͜ͱ
msgraph https://github.com/jinroq/msgraph
Microsoft Graph https://developer.microsoft.com/en-us/graph
Office 365 ͱ͔Λศརʹѻ͑Δ https://docs.microsoft.com/en-us/graph/?view=graph-rest-1.0
αϙʔτϓϥοτϑΥʔϜ https://docs.microsoft.com/en-us/graph/?view=graph-rest-1.0#supported-platforms
Ruby αϙʔτର https://docs.microsoft.com/en-us/graph/?view=graph-rest-1.0#supported-platforms
Microsoft Graph Client Library for Ruby https://github.com/microsoftgraph/msgraph-sdk-ruby
͕
ίϛοτ͕গͳ͗͢ͳ͍ʁ Microsoft Graph ͕ϦϦʔε͞Εͨͷ 2015
͜Μͳ issue ͕͋Δ https://github.com/microsoftgraph/msgraph-sdk-ruby/issues/42
• ϝϯςφʔ͕ϝϯςφϯεΛͯ͘͠Ε͍ͯͳ͍ • υΩϡϝϯτ͕ͳ͍ͷͰ͍ํ͕ͬ͞ͺΓ͔Βͳ͍ • ެࣜʹαϙʔτ͍ͯ͠Δͱᨳ͍ͬͯΔ͕ SDK preview
൛
ࠓޙ։ൃ͕ܧଓ͞ΕΔ͔ෆ໌ྎ
Ͳ͏͠Α͏ʁ
– ੲͷۈઌͷઌഐͷ֨ݴ ແ͍ͳΒΕ
ͦΜͳ༁ͰແʹҰਓͰ SDK ΛͬͯΈΔ͜ͱʹͨ͠
·ͣૉʹΤϯυϙΠϯτʹ ରͯ͠ΫϥΠΞϯτΛͭͬͯ͘ΈΔ
͕
ૉʹ࣮ͯ͠ΈΔ • ຊՈ SDK OData Protocol ͷ༷͕େʢಡΈͨ͘ͳ͍ʣ • ΤϯυϙΠϯτ
100 Ҏ্ʢ్தͰ͑ΔࣄΛఘΊͨʣ͋Δ
ૉʹ࣮ͯ͠ΈΔ • ຊՈ SDK OData Protocol ͷ༷͕େ • ΤϯυϙΠϯτ
100 Ҏ্ʢ͑Δͷ్தͰఘΊͨʣ͋Δ ૉʹ։ൃ͍ͯͨ͠Β ҰਓͰ౸ఈऴΘΒͳ͍
͡Ό͋Ͳ͏͢Δʁ
Ͳ͏͢Δʁ • ݱঢ়Λཧ͢Δ • Microsoft Graph API RESTful API
ͱͯ͠ఏڙ͞Ε͍ͯΔ • OData Protocol Λ࠾༻͍ͯ͠ΔΑ͏͕ͩɺΫΤϦύϥϝʔλ−ʹ OData ΫΤϦΛͤΕղܾͦ͠͏
Ͳ͏͢Δʁ • ݱঢ়Λཧ͢Δ • Microsoft Graph API RESTful API
ͱͯ͠ఏڙ͞Ε͍ͯΔ • OData Protocol Λ࠾༻͍ͯ͠ΔΑ͏͕ͩɺΫΤϦύϥϝʔλ−ʹ OData ΫΤϦΛͤΕղܾͦ͠͏ OpenAPI Generator ͕͑ͦ͏
OpenAPI Generator • https://github.com/OpenAPITools/openapi-generator • OpenAPI Schema Λఆٛ͢ΕΫϥΠΞϯτΛੜͯ͘͠ΕΔπʔϧ • ࢀߟɿ
https://rubykaigi.org/2019/presentations/ota42y.html#apr18 • Ruby Ҏ֎ʹ༷ʑͳݴޠͷΫϥΠΞϯτΛ࡞Ͱ͖Δ
microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi
microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi ͏ग़དྷͨಉવʂ
microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi ͏ग़དྷͨಉવʂ
microsoft-graph-openapi https://github.com/microsoftgraph/microsoft-graph-openapi ͏ग़དྷͨಉવʂ
·ͱΊ • OpenAPI Generator Λ͑ΔΑ͏ʹ͢Εग़དྷΔ͔ • ͋͘·Ͱ͕ࣗϝϯςφϯεͰ͖ΔఔʹͱͲΊΔ • ࡞Γͬͺͳ͠ͰऴΘΓʹ͠ͳ͍