col-b / stuff

just some random stuff
0 stars 1 forks source link

API changes? #3

Open jcward opened 10 years ago

jcward commented 10 years ago

Chris, I had to change the URL in this script from

https://api.pushbullet.com/api/pushes

to:

https://api.pushbullet.com/v2/pushes

Otherwise I got an error response

{"error": {"type":"invalid_body","message":""}, "cat": "😼"}

The error was also swallowed (perhaps the curl response was valid, but a json blob that included the key "error").

Thanks for this script, btw! =)

col-b commented 10 years ago

Cool - thanks! Yea, I haven't used that in a while, but it's pretty slick. I used to use it for long builds. I'd kick it off with a little push at the end and then get notified as I was walking around the build when my build completed.