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
390
TRICK 2022 に入選した話
jinroq
0
210
RubyKaigiとMicrosoftと私
jinroq
0
170
msgraph: Microsoft Graph API Client with Ruby
jinroq
0
260
Fukuoka.rb 2019活動報告・2020抱負
jinroq
0
250
福岡の方から参りました Fukuoka.rb です
jinroq
0
1.7k
Microsoft Graph API Client and OpenAPI
jinroq
0
950
5 分で分かるアイキューブドシステムズ
jinroq
0
530
Fukuoka.rb 2019年度上半期活動報告
jinroq
0
2.7k
Other Decks in Programming
See All in Programming
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
620
Amazon Qを使ってIaCを触ろう!
maruto
0
410
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
Ethereum_.pdf
nekomatu
0
460
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
130
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
190
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
600
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
920
Click-free releases & the making of a CLI app
oheyadam
2
120
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
130
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Facilitating Awesome Meetings
lara
50
6.1k
Visualization
eitanlees
145
15k
Done Done
chrislema
181
16k
A Tale of Four Properties
chriscoyier
156
23k
Designing Experiences People Love
moore
138
23k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Typedesign – Prime Four
hannesfritz
40
2.4k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Music & Morning Musume
bryan
46
6.2k
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 Λ͑ΔΑ͏ʹ͢Εग़དྷΔ͔ • ͋͘·Ͱ͕ࣗϝϯςφϯεͰ͖ΔఔʹͱͲΊΔ • ࡞Γͬͺͳ͠ͰऴΘΓʹ͠ͳ͍