跳转到主要内容

愿你的LINE与好运同行...

项目描述

LINE

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

愿你的LINE与好运同行…

更新

2015.05.28

sendImagesendImageWithURL 已修复。

发送图片

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

或者使用

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

2015.03.31

authToken过期 问题 已解决。

自动更新authToken

$ pip install line --upgrade

您原始代码中无需更改任何内容。

手动更新authToken

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

2014.08.08

由于LINE公司的请求,删除了一些代码。您只能使用带有authToken登录的库。

屏幕截图

alt\_tag

作者

Taehoon Kim / [@carpedm20](http://carpedm20.github.io/about/)

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分发

line-0.8.2.tar.gz (11.5 kB 查看散列)

上传时间

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面