I've been looking for a human genome API for this purpose. I found the NCBI datasets API but there seems to be a problem with this package. I also found an Ensembl API but could only find a way to query it with gene IDs, so I started looking for an API to convert gene symbols to IDs. I found an R package but I'm using python.
Is there an API for retrieving human sequences by querying gene symbols, or is there an API for converting gene symbols to IDs?
I'm also using a Linux system, in case you know relevant Linux tools.