For a given KEGG pathway, we want to get a list of all the genes. Ensembl IDs are convenient here.
KEGG provides a REST API for some tasks, but is far from complete. For example, it is possible to map from KEGG to NCBI IDs, but not to Ensembl IDs.
The implementation peforms the following steps: