use spaces API via sinatra proxy