Slide 1

Slide 1 text

Create a common service by Lotify and Swagger LINE Developer Relations NiJia Lin 2020.10

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Last year in MOPCON

Slide 7

Slide 7 text

NiJia Lin • Developer Relations • External Evangelism • Internal Evangelism LINE Technology Evangelist

Slide 8

Slide 8 text

LINE Notify & Lotify

Slide 9

Slide 9 text

LINE Notify https://notify-bot.line.me/zh_TW/

Slide 10

Slide 10 text

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.

Slide 11

Slide 11 text

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.

Slide 12

Slide 12 text

LINE Notify - example

Slide 13

Slide 13 text

LINE Notify - example

Slide 14

Slide 14 text

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 • …

Slide 15

Slide 15 text

LINE Notify - Type https://notify-bot.line.me/zh_TW/ • Text • Sticker • Image url • Image file

Slide 16

Slide 16 text

LINE Notify Authorize flow https://notify-bot.line.me/doc/en/

Slide 17

Slide 17 text

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.

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Lo#fy workflow https://github.com/louis70109/lotify

Slide 21

Slide 21 text

Lo#fy need your star⭐! https://github.com/louis70109/lotify

Slide 22

Slide 22 text

SDK was implemented, But…

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

So you need Swagger

Slide 25

Slide 25 text

• Documentation • Generate by YAML or JSON • Write once, use everywhere • Flask: flask-restful-swagger-2.0 • With decorator • Django: pyswagger Swagger

Slide 26

Slide 26 text

And use code-generator

Slide 27

Slide 27 text

• Cross-team cooperation. • Documentation by Swagger. • Do not need to package API again. • Decrease your time. • Support lots of languages. Goals

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

Demo1

Slide 30

Slide 30 text

Demo2

Slide 31

Slide 31 text

Demo2

Slide 32

Slide 32 text

Lotify-swagger-sample

Slide 33

Slide 33 text

Messaging API Build bots that provide personalized experiences for your users on LINE.

Slide 34

Slide 34 text

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

Slide 35

Slide 35 text

Chatbot Developer Taiwan •From: • Taipei (2019/02) • Taichung (2019/07) •Chatbot meetups: • Taipei: 24 • Taichung: 9

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

LINE TECH FRESH https://engineering.linecorp.com/zh-hant/blog/tech-fresh-2020/ 37

Slide 38

Slide 38 text

https://engineering.linecorp.com/zh-hant/blog/2020-mopcon-lotify-sharing/