A C API to work with the Ensembl database schema