OpenVAS API

Ok so the only way to get data from a distant web server is to build my own api ?