Simple Python 3 wrapper for Pushwoosh API
NOTE: This is ongoing unofficial project, provided AS IS and supported on best effort basis.
-
Install
pushwoosh_api
package, e.g.:pip install git+https://github.com/makcyd/pushwoosh_api.git
-
Use it as follows:
from pushwoosh_api import Pushwoosh p = Pushwoosh(api_endpoint="https://cp.pushwoosh.com/json/1.3", api_key="<YOUR KEY HERE>") message_history = p.get_all_push_history() for message in message_history: print("[{}] {}".format(message["id"], message["content"]))