PushDeer SDK for Python.
pip install pypushdeer
from pypushdeer import PushDeer
pushdeer = PushDeer(pushkey="your_push_key")
pushdeer.send_text("hello world", desp="optional description")
pushdeer.send_markdown("# hello world", desp="**optional** description in markdown")
pushdeer.send_image("https://github.com/easychen/pushdeer/raw/main/doc/image/clipcode.png")
pushdeer.send_image(
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=")
from pypushdeer import PushDeer
pushdeer = PushDeer(server="https://your-server-here", pushkey="your_push_key")
from pypushdeer import PushDeer
pushdeer = PushDeer()
pushdeer.send_text("hello world", server="some_server", pushkey="some_key")
- unit test
- exception handling
- arguments validate