Skip to content

GanjinZero/pyserverchan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyserverchan

Server-chan for python.

Install

pip install pyserverchan

Getting started

You should go to Server-Chan get a SCKEY and bind WeChat. Your URL will be like 'https://sc.ftqq.com/[SCKEY].send '. You can use following functions to send text, picture, markdown files.

from pyserverchan import pyserver
svc = pyserver.ServerChan(user_URL) # If you're the first time using pyserverchan on this computer
svc = pyserver.ServerChan() # If you're not the first time on this computer
svc.output_to_weixin("ATestMessage.")
svc.output_to_weixin_picture("http://sc.ftqq.com/static/image/bottom_logo.png")
svc.output_to_weixin_markdown("J:/pyserverchan/README.md")

About

Server-chan for python. / Server酱python版。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages