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
1.7k
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
就讓AI幫你帶LINE好運
line_developers_tw
PRO
1
25
沒想過的前端錯誤處理可能比你有做的還多
line_developers_tw
PRO
0
47k
LINE 台灣實習計畫 2024 - TECH FRESH 介紹
line_developers_tw
PRO
0
470
LINE 台灣實習計畫 - 相關福利與面試流程
line_developers_tw
PRO
0
490
Navigating My Internship: A 5W1H Perspective
line_developers_tw
PRO
0
18
1001 號 到 333 號
line_developers_tw
PRO
0
14
關於我連線三年半的故事
line_developers_tw
PRO
0
810
LINE 電商部門實習分享
line_developers_tw
PRO
0
44
大學六年,我差點忘了畢業
line_developers_tw
PRO
0
450
Other Decks in Programming
See All in Programming
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
210
雑に思考を整理する技術と効能
konifar
60
29k
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
250
Netty Chicago Java User Group 2024-04-17
sullis
0
180
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
180
if constexpr文はテンプレート世界のラムダ式である
faithandbrave
3
650
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
Site Reliability Engineering for GMO
pyama86
8
1k
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
810
Java 22 Overview
kishida
1
180
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Featured
See All Featured
How to name files
jennybc
65
93k
Thoughts on Productivity
jonyablonski
58
3.8k
Producing Creativity
orderedlist
PRO
337
39k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Building Applications with DynamoDB
mza
88
5.6k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Embracing the Ebb and Flow
colly
80
4.1k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Bash Introduction
62gerente
604
210k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
2
1.3k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
YesSQL, Process and Tooling at Scale
rocio
164
13k
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/