Skip to content

sns-sdks/python-workweixin

Repository files navigation

Python WorkWeiXin

A Python wrapper around for Work WeiXin API.

Build Status Codecov

Introduction

This library provide easy method to use work.weixin apis.

Using

Message

Now you can use this library to send message in work.weixin app.

This exposed with work.Api class.

You can create an instance of this api to begin:

In [1]: from pywework.api.work import Api

In [2]: api = Api(corp_id='your work id', corp_secret='your work secret', agent_id='')

Now you can send message to user:

In [6]: api.send_text('Hello', to_user='liukun')
Out[6]: {'errcode': 0, 'errmsg': 'ok', 'invaliduser': ''}

TODO

About

A simple Python wrapper for work WeiXin API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published