These parameters should work as an assoc. array passed via the second parameter.

`$lib->request('/videos', array('per_page' => 50, 'query' => urlencode($_GET['query'])));`