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 實習分享 & 國際黑客松參賽分享
line_developers_tw
PRO
0
19
在 GCP 運用 Parse 全家餐管理那堆 AI 應用的資料
line_developers_tw
PRO
0
22
40歲的我會給20歲的自己,關於軟體開發的7個建議
line_developers_tw
PRO
0
7.5k
從零到一:轉碼仔的實習攻略
line_developers_tw
PRO
0
31
如何在團隊發揮數據影響力: 以電商資料科學家為例
line_developers_tw
PRO
1
44
做Data超讚的 誰懂?
line_developers_tw
PRO
0
33
iOS Live Activity: Opportunities & Challenges
line_developers_tw
PRO
1
120
掌握 Feature Toggle 與 OpenFeature 規範
line_developers_tw
PRO
0
240
用 AI 和 LINE Bot 簡化生活:讓圖片告訴你何時該忙!-- LINE 工作坊
line_developers_tw
PRO
0
770
Other Decks in Programming
See All in Programming
Pythonでもちょっとリッチな見た目のアプリを設計してみる
ueponx
1
480
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
11
1.8k
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
10
1.8k
昭和の職場からアジャイルの世界へ
kumagoro95
1
350
第3回 Snowflake 中部ユーザ会- dbt × Snowflake ハンズオン
hoto17296
4
360
Amazon S3 TablesとAmazon S3 Metadataを触ってみた / 20250201-jawsug-tochigi-s3tables-s3metadata
kasacchiful
0
100
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
730
AWS Organizations で実現する、 マルチ AWS アカウントのルートユーザー管理からの脱却
atpons
0
130
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
130
GAEログのコスト削減
mot_techtalk
0
110
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
1
170
CI改善もDatadogとともに
taumu
0
110
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
328
21k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
950
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Producing Creativity
orderedlist
PRO
343
39k
Rails Girls Zürich Keynote
gr2m
94
13k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Optimizing for Happiness
mojombo
376
70k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
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/