Adding query functionality to all the end points
Merge pull request #27 from conorfennell/query

Adding query functionality to all the end points