public function registerApi()
    {
        $this->app['api.request'] = $this->app->share(function($app)
        {
            $remoteClient = new Client();

            return new Api($app['config'], $app['router'], $app['request'], $remoteClient);
        });
    }