You just need to use SOAP lite to handle their KEGG.wsdl file and retrieve the exact information you want directly from their database.
Writing the parser is of course a nice exercise but you should be aware that they change their output from time to time and therefore your parser might eventualy break.