Go client for the ZeroPush API.
I wrote a Go client for zeropush since I needed it in a project. I know they are improving their REST API so the client needs more brushing.
I used Gomega and Ginkgo as the BDD framework.
Example usage:
First, set your API tokens as environment variables:
ZEROPUSH_DEV_TOKEN = your_dev_token
ZEROPUSH_PROD_TOKEN = your_prod_token
//Initialize the client
zeropushClient := zeropush.NewClient()
//send the notification
_, _ = zeropushClient.Notify("@somebody started following you", "1", "Tock.tiff", `{"key1" : "value1", "key2", "value2"}`, "", "", "LikeNotification", "your_device_token")
Better GoDoc