tvmaze.js
function fetch( url, callback ) {
    request({ url: url, json: true }, function( err, resp, data ) {
        if (err) {
            return callback(err);
        }

        if ( 200 != resp.statusCode ) {
            return callback(new Error(resp.statusMessage));
        }

        callback(data);
    });
}
function fetch( url, callback ) {
    request({ url: url, json: true }, function( err, resp, data ) {
        if (err) {
            return callback(err);
        }

        if ( 200 != resp.statusCode ) {
            return callback(new Error(resp.statusMessage));
        }

        callback(data);
    });
}
function fetch ( url , callback ) { request ( { url : url , json : true } , function ( err , resp , data ) { if ( err ) { return callback ( err ) ; } if ( 200 != resp . statusCode ) { return callback ( new Error ( resp . statusMessage ) ) ; } callback ( data ) ; } ) ; }
Actual request against the tvmaze api

@param url
@param callback
Actual request against the tvmaze api