Use version 2 of the API
Made the query parameter optional