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
Create a common service by Lotify and Swagger
Search
LINE Developers Taiwan
PRO
October 24, 2020
Programming
0
2k
Create a common service by Lotify and Swagger
NiJia at MOPCON 2020 event:
https://mopcon.org/2020/schedule/2020011
LINE Developers Taiwan
PRO
October 24, 2020
Tweet
Share
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
菸酒生在 LINE Taiwan 的後端雙刀流
line_developers_tw
PRO
0
1.1k
讓測試不再 BB! 從 BDD 到 CI/CD, 不靠人力也能 MVP
line_developers_tw
PRO
0
1.1k
DB 醬,嗨!哪泥嘎斯基?
line_developers_tw
PRO
0
1.1k
比起獨自升級 我更喜歡 DevOps 文化 <3
line_developers_tw
PRO
0
1.1k
工具人的一生: 開發很多 AI 工具讓我 慵懶過一生
line_developers_tw
PRO
0
1.1k
從四件事帶你見識見識 事件驅動架構設計 (EDA)
line_developers_tw
PRO
0
1k
TODAY 看世界(?) 是我們在看扣啦!
line_developers_tw
PRO
0
1.1k
你想成為什麼樣的開發者?
line_developers_tw
PRO
0
25
研究生的 LINER生活
line_developers_tw
PRO
0
26
Other Decks in Programming
See All in Programming
関数型まつりレポート for JuliaTokai #22
antimon2
0
150
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
310
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
570
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
260
プロダクト志向ってなんなんだろうね
righttouch
PRO
0
160
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
2
210
Select API from Kotlin Coroutine
jmatsu
1
190
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
570
「ElixirでIoT!!」のこれまでとこれから
takasehideki
0
370
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
220
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
190
Enterprise Web App. Development (2): Version Control Tool Training Ver. 5.1
knakagawa
1
120
Featured
See All Featured
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
What's in a price? How to price your products and services
michaelherold
246
12k
RailsConf 2023
tenderlove
30
1.1k
4 Signs Your Business is Dying
shpigford
184
22k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Agile that works and the tools we love
rasmusluckow
329
21k
It's Worth the Effort
3n
185
28k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
How STYLIGHT went responsive
nonsquared
100
5.6k
Transcript
Create a common service by Lotify and Swagger LINE Developer
Relations NiJia Lin 2020.10
None
None
None
None
Last year in MOPCON
NiJia Lin • Developer Relations • External Evangelism • Internal
Evangelism LINE Technology Evangelist
LINE Notify & Lotify
LINE Notify https://notify-bot.line.me/zh_TW/
LINE Notify h"ps://no)fy-bot.line.me/zh_TW/ • Provided by LINE. • Don't need
to install another app. • One way notify. • From LINE to user. • LINE official account. • Via OAuth 2.0.
LINE Notify https://notify-bot.line.me/zh_TW/ • Provided by LINE. • Don't need
to install another app. • One way notify. • From LINE to user. • LINE official account. • Via OAuth 2.0.
LINE Notify - example
LINE Notify - example
LINE Notify – Other example • Produc'on monitor • Crawler
informa'on • CI no'fy • Server healthy monitor • Bug report • Weather • My follow Twitch stream • Shopping cart • …
LINE Notify - Type https://notify-bot.line.me/zh_TW/ • Text • Sticker •
Image url • Image file
LINE Notify Authorize flow https://notify-bot.line.me/doc/en/
What’s things push me to create Lotify • Wrote LINE
Notify usually. • Contributed line-bot-sdk-python. • Wanted owner SDK. • Simulate line-bot-sdk-python struct. • Learn relate knowledges from Meetups. • Backup knowledges.
None
None
Lo#fy workflow https://github.com/louis70109/lotify
Lo#fy need your star⭐! https://github.com/louis70109/lotify
SDK was implemented, But…
None
So you need Swagger
• Documentation • Generate by YAML or JSON • Write
once, use everywhere • Flask: flask-restful-swagger-2.0 • With decorator • Django: pyswagger Swagger
And use code-generator
• Cross-team cooperation. • Documentation by Swagger. • Do not
need to package API again. • Decrease your time. • Support lots of languages. Goals
None
Demo1
Demo2
Demo2
Lotify-swagger-sample
Messaging API Build bots that provide personalized experiences for your
users on LINE.
Messaging API SDK • The LINE Bot SDK makes it
easier for you to start creating bots on LINE using Messaging API • Supports multiple languages • Java • Python • PHP • Node.js • Go • Ruby • Perl
Chatbot Developer Taiwan •From: • Taipei (2019/02) • Taichung (2019/07)
•Chatbot meetups: • Taipei: 24 • Taichung: 9
None
LINE TECH FRESH https://engineering.linecorp.com/zh-hant/blog/tech-fresh-2020/ 37
https://engineering.linecorp.com/zh-hant/blog/2020-mopcon-lotify-sharing/