معرفی شرکت ها


WeCom-nodream-1.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

企业微信API
ویژگی مقدار
سیستم عامل OS Independent
نام فایل WeCom-nodream-1.0.0
نام WeCom-nodream
نسخه کتابخانه 1.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده noDream
ایمیل نویسنده 1802024110@qq.com
آدرس صفحه اصلی https://github.com/1802024110/WeCom_API
آدرس اینترنتی https://pypi.org/project/WeCom-nodream/
مجوز Apache License
# WeCom_API # Initialize the object ``` // AGENTID: you can get it from the WeCom // CORPID: you can get it from the WeCom // CORPSECRET: you can get it from the WeCom wx = wx = WeCom.WeCom(AGENTID,CORPID,CORPSECRET) ``` # Member methods ## uploadTemp ``` wx.uploadTemp(fileType,file,fileName='') ``` Upload temporary material Parameters: fileType:image, voice, video, file. file:File buffer ( io.BufferedReader) or URL of the file fileName: optional for file buffering, but the URL is required ## sendAppMsg ``` wx.sendAppMsg(msgType, content) ``` Send an application message Parameters: msgType:text, image, voice, video, file. content: for text is text content, others are media id ## sendCardMsg ``` wx.sendCardMsg(title,description,url,btntxt) ``` Send a card message Parameters: title:title of the card description:the content of the card url:card jump address btntxt:button text ## sendNewsMsg ``` wx.sendNewsMsg(title,description,url,picurl) ``` Send a graphic message Parameters: title: title of the graphic description: text content of the graphic url: click to jump link picurl:picture link ## sendMarkdownMsg ``` wx. sendMarkdownMsg(content) ``` Send markdown message Parameters: Content: markdown text


نیازمندی

مقدار نام
- requests


نحوه نصب


نصب پکیج whl WeCom-nodream-1.0.0:

    pip install WeCom-nodream-1.0.0.whl


نصب پکیج tar.gz WeCom-nodream-1.0.0:

    pip install WeCom-nodream-1.0.0.tar.gz