I'm able to get a list of genes by using the kg tool as shown below. Perhaps this is enough to meet your needs. I would also like to be able to specify the type of gene identifier, such as Entrez ID or Ensembl ID (link to issue), but this has not been implemented yet as far as I can tell.
Command:
kg --mergecol=0 --noheader --genes --definition --species=hsa <(echo 01200)
Output: (trimmed)
Cache path is: /Users/slowikow/.kegg/ (Time: Thu, 29 Oct 2015 10:10:24 )
Get KEGG gene to external gene map. (Time: Thu, 29 Oct 2015 10:10:24 )
Get KEGG path to gene map. (Time: Thu, 29 Oct 2015 10:10:25 )
Get KEGG pathway to definition map. (Time: Thu, 29 Oct 2015 10:10:25 )
Connect KEGG gene map and KEGG pathway map. (Time: Thu, 29 Oct 2015 10:10:26 )
/Users/slowikow/anaconda/lib/python2.7/site-packages/ebs/merge_cols.py:74: FutureWarning: sort(columns=....) is deprecated, use sort_values(by=.....)
in_df = in_df.sort(pre_merge_sort_order_col)
Attaching pathway definitions. (Time: Thu, 29 Oct 2015 10:10:26 )
01200 ME3 Carbon metabolism
01200 PGAMA Carbon metabolism
01200 PGAM-B Carbon metabolism
01200 HEL-S-35 Carbon metabolism
01200 PGAM1 Carbon metabolism
01200 PFKF Carbon metabolism
The first method only has 401 lines for hsa05200, the latter method has close to 2000. My library uses the latter method. See https://github.com/endrebak/kg
My guess is that the first method is from the outdated kegg (it went unfunded for a while and the public data was not updated AFAIK), and the second is from the second run of KEGG, 2014-2016.