Update URLs to current API endpoints

Also fix an indentation that created a warning
Merge pull request #8 from tas50/master

Update URLs to current API endpoints