var Util = require("util");

// TODO

@@ -25,13 +25,398 @@
 %22);%0A
-%0A// TODO
+var API_URL = %22https://www.googleapis.com/youtube/v3/%22;%0A%0Afunction createUrl (api, options) %7B%0A%0A    var url = API_URL + api;%0A%0A    options.access_token = (this.Client.getConfig().auth %7C%7C %7B%7D).token;%0A%0A    var i = -1;%0A    for (var opt in options) %7B%0A        var value = options%5Bopt%5D;%0A        url += (++i === 0 ? %22?%22 : %22&%22) + opt + %22=%22 + value;%0A    %7D%0A%0A    return url;%0A%7D%0A%0Aexports.createUrl = createUrl;
 %0A

add createUrl function in util