Add api method and fix read url parameter
Merge pull request #3 from askhogan/patch-1

Add api method and fix read url parameter