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
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
280
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
130
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
270
Go の GC の不得意な部分を克服したい
taiyow
3
790
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
テストコード書いてみませんか?
onopon
2
130
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
130
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Building Your Own Lightsaber
phodgson
103
6.1k
What's in a price? How to price your products and services
michaelherold
243
12k
We Have a Design System, Now What?
morganepeng
51
7.3k
Building Adaptive Systems
keathley
38
2.3k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Adopting Sorbet at Scale
ufuk
73
9.1k
KATA
mclloyd
29
14k
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 Λ͑ΔΑ͏ʹ͢Εग़དྷΔ͔ • ͋͘·Ͱ͕ࣗϝϯςφϯεͰ͖ΔఔʹͱͲΊΔ • ࡞Γͬͺͳ͠ͰऴΘΓʹ͠ͳ͍