moved the api call to query params
Merge pull request #1 from DavidBrear/feature/query-params

Moved the api call to query params