fix API url

reflects original issue #2

fixes #2