better string handling for api urls
Merge pull request #4 from Jaram/feature/readable

better string handling for api urls