add the possibility to add timeouts to api requests
Merge pull request #35 from ndparker/master

add the possibility to add timeouts to api requests