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
2.1k
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
Live Activities in LINE
line_developers_tw
PRO
0
9
Neumorphism x Liquid Glass
line_developers_tw
PRO
0
10
猜你喜歡 – 打造高度擴展的個人化電商推薦
line_developers_tw
PRO
0
22
打造新電商搜尋體驗- 搜尋意圖辨識
line_developers_tw
PRO
0
7
比價群組
line_developers_tw
PRO
0
11
從混亂到優雅,讓專案不再失控:ATDD 與 Clean Architecture 的後端實戰之路
line_developers_tw
PRO
0
10
2049智能共存:透過LINE Bot Agent迎接後人類時代
line_developers_tw
PRO
0
39
菸酒生在 LINE Taiwan 的後端雙刀流
line_developers_tw
PRO
0
1.4k
讓測試不再 BB! 從 BDD 到 CI/CD, 不靠人力也能 MVP
line_developers_tw
PRO
0
1.5k
Other Decks in Programming
See All in Programming
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
180
testingを眺める
matumoto
1
140
速いWebフレームワークを作る
yusukebe
5
1.7k
@Environment(\.keyPath)那么好我不允许你们不知道! / atEnvironment keyPath is so good and you should know it!
lovee
0
120
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
22
5.8k
Cache Me If You Can
ryunen344
2
1.4k
AIでLINEスタンプを作ってみた
eycjur
1
230
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
500
機能追加とリーダー業務の類似性
rinchoku
2
1.3k
私の後悔をAWS DMSで解決した話
hiramax
4
210
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
860
print("Hello, World")
eddie
2
530
Featured
See All Featured
A designer walks into a library…
pauljervisheath
207
24k
YesSQL, Process and Tooling at Scale
rocio
173
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Thoughts on Productivity
jonyablonski
70
4.8k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
How to Ace a Technical Interview
jacobian
279
23k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
Navigating Team Friction
lara
189
15k
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/