Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
220
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
Djangoの開発環境で工夫したこと - pre-commit / DevContainer
hiroki_yod
1
520
macOS なしで iOS アプリを開発する(※ただし xxx に限る)
mitsuharu
1
140
Better Code Design in PHP
afilina
PRO
0
140
WebAssembly Unleashed: Powering Server-Side Applications
chrisft25
0
1.9k
MoQとか勉強会#2 発表資料
yuki_uchida
1
110
[FlutterKaigi2024] Effective Form 〜Flutterによる複雑なフォーム開発の実践〜
chocoyama
0
3.9k
最新TCAキャッチアップ
0si43
0
250
事業成長を爆速で進めてきたプロダクトエンジニアたちの成功談・失敗談
nealle
3
580
Jakarta EE meets AI
ivargrimstad
0
1.2k
Missing parts when designing and implementing Android UI
ericksli
0
360
Jakarta EE meets AI
ivargrimstad
0
280
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
330
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
52
5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Building Adaptive Systems
keathley
38
2.3k
The Language of Interfaces
destraynor
154
24k
Unsuck your backbone
ammeep
668
57k
Being A Developer After 40
akosma
87
590k
Documentation Writing (for coders)
carmenintech
65
4.5k
Code Review Best Practice
trishagee
64
17k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Designing for Performance
lara
604
68k
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 Λ͑ΔΑ͏ʹ͢Εग़དྷΔ͔ • ͋͘·Ͱ͕ࣗϝϯςφϯεͰ͖ΔఔʹͱͲΊΔ • ࡞Γͬͺͳ͠ͰऴΘΓʹ͠ͳ͍