Passes $api_key via constructor. Uses http_build_query.
Merge pull request #1 from brudil/master

Passes $api_key via constructor. Uses http_build_query.