[ensembl-dev] Specifying return data to be JSON formatted.
Stefano Giorgetti
sgiorgetti at ebi.ac.uk
Fri Feb 14 10:45:25 GMT 2025
Hello Allan,
The following should work
https://rest.ensembl.org/info/species?content-type=application/json
or
curl 'https://rest.ensembl.org/info/species' -H
'Content-type:application/json'
Further information about the endpoint can be found at the link below
https://rest.ensembl.org/documentation/info/species
Or asked for here :-)
Cheers,
Stefano
On 14/02/2025 10:36 am, Allan Kamau wrote:
> I would like to obtain the list of ensembl genomes via the ensembl API.
> The URL "https://rest.ensembl.org/info/species?" currently returns
> data in YAML format.
> Is there a way I can specify the return data to be JSON formatted instead?
>
> -Allan.
>
> _______________________________________________
> Dev mailing list Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org
> Ensembl Blog: http://www.ensembl.info/
More information about the Dev
mailing list