LINE No'fy h"ps://no)fy-bot.line.me/zh_TW/ • Provided by LINE. • One way notify. • LINE official account. • LINE push message to user. • Via OAuth 2.0.
LINE Notify https://notify-bot.line.me/zh_TW/ • Provided by LINE. • One way notify. • LINE official account. • LINE push message to user. • Via OAuth 2.0.
• Needed a SDK which can let me use it quickly. • Many Pypi packages just do half features. • If I used LINE Notify I need to call normal API again. • Learned good unit test from line-bot-sdk-python Why I need to create Lotify
• Needed a SDK which can let me use it quickly. • Many Pypi packages just do half features. • If I used LINE Notify I need to call normal API again. • Learned good unit test from line-bot-sdk-python. Why I need to create Lo/fy
• It had many good code. • It could be better: • Unit test. • Functionalize send message type. • No authorization flow: • Link url • Change token • Get status Why I need to create Lotify
• Needed a SDK which can let me use it quickly. • Many Pypi packages just do half features. • If I used LINE Notify I need to call normal API again. • Learned good unit test from line-bot-sdk-python. Why I need to create Lotify
• Needed a SDK which can let me use it quickly • Many Pypi packages just do half features • If I used LINE [email protected] I need to call normal API again • Learned good unit test from line-bot-sdk-python Why I need to create Lotify
Why do I need to create Lotify? • Needed a SDK which can let me use it quickly • Many Pypi packages just do half features • If I used LINE [email protected] I need to call normal API again • Learned good unit test from line-bot-sdk-python
• Needed a SDK which can let me use it quickly. • Many Pypi packages just do half features. • If I used LINE Notify I need to call normal API again. • Learned good unit test by line-bot-sdk-python. Why I need to create Lotify
• I referenced line-bot-sdk-python unit test. • Authoriza8on flow. • Documenta8on. • It had example : • h?ps://github.com/louis70109/flask-line-no8fy • One click deployment deploy to Heroku. Why I need to create Lotify
h"ps://github.com/miyakogi/m2r • Read Markdown file from absolute path and transform Markdown to reStructuredText in generate static file flow by m2r package. Package only can reStructuredText
• Input variable in setup() version column. • When you upload new version it would read __version__.py automa:cally. • Every modifica:on need to add version number. Version control
• It can let contributor use requirements.txt correctly. • If your SDK had different environment pipline, this method would not pollute them. Split requirements environment
• It need .travis.yml file to run • The file can trigger Travis CI • It’s nice to have auto test • Choose your favorite CI pla:orm Travis - Badge GitHub Action could catch Travis result once