Updated URLs to match API documentation

Didn't work for me out of the box, I got the same error as issue #26. I had to change the URLs as in this patch.