drafdecode / LINE-API

LINE API

Home Page:https://saixiii.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Saixiii - https://saixiii.com

https://saixiii.com/line-robot-unofficial/ https://saixiii.com/chapter1-line-bot-python-api-official/ https://saixiii.com/chapter2-line-api-official/ https://saixiii.com/chapter3-line-api-reference/ https://saixiii.com/chapter4-line-api-webhook/ https://saixiii.com/chapter5-line-api-send-message/ https://saixiii.com/chapter6-line-python-sdk/

credit : carpedm20

LINE

Join the chat at https://gitter.im/carpedm20/LINE

May the LINE be with you...

Update

2015.05.28

sendImage and sendImageWithURL is fixed.

To send an Image:

>>> contact = client.contacts[0]
>>> contact.sendImage('./image.jpg')

Or use:

>>> contact = client.contacts[0]
>>> contact.sendImageWithURL('https://avatars3.githubusercontent.com/u/3346407?v=3&s=460')

2015.03.31

authToken expiration issue solved.

update authToken automatically:

$ pip install line --upgrade

There is nothing to change in your original code.

update authToken manually:

$ pip install line --upgrade
$ python
>>> from line import LineClient, LineGroup, LineContact
>>> client = LineClient("ID", "PASSWORD")
>>> client.updateAuthToken() # manual update
True

2014.08.08

Some codes are removed because of the request of LINE corporation. You can use library only with authToken login.

Screenshot

alt_tag

Author

Taehoon Kim / @carpedm20

About

LINE API

https://saixiii.com

License:Other


Languages

Language:Python 99.8%Language:Makefile 0.2%