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.9k
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_developers_tw
PRO
0
5
如何在團隊發揮數據影響力: 以電商資料科學家為例
line_developers_tw
PRO
1
27
做Data超讚的 誰懂?
line_developers_tw
PRO
0
15
iOS Live Activity: Opportunities & Challenges
line_developers_tw
PRO
1
88
掌握 Feature Toggle 與 OpenFeature 規範
line_developers_tw
PRO
0
160
用 AI 和 LINE Bot 簡化生活:讓圖片告訴你何時該忙!-- LINE 工作坊
line_developers_tw
PRO
0
620
Scaling The E-Commerce Recommendation System
line_developers_tw
PRO
0
28
Enhanced EC Recommendations: Trustworthy Validation with Large Language Models for Two-Tower Model
line_developers_tw
PRO
0
12
揭秘LLMOps: 讓LLM服務像火箭 般穩定高效的祕密!
line_developers_tw
PRO
0
69
Other Decks in Programming
See All in Programming
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
120
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
270
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
110
初めてDefinitelyTypedにPRを出した話
syumai
0
420
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.2k
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
350
Macとオーディオ再生 2024/11/02
yusukeito
0
380
イベント駆動で成長して委員会
happymana
1
340
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.8k
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
6
1.5k
Featured
See All Featured
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
KATA
mclloyd
29
14k
A designer walks into a library…
pauljervisheath
204
24k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Rails Girls Zürich Keynote
gr2m
94
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
How to Ace a Technical Interview
jacobian
276
23k
Faster Mobile Websites
deanohume
305
30k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
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/