thank you, it's very easy and convenient to use this.
Hi, I have many KO IDs and I want to get these KO IDs definition by using KEGG API. But I found some examples in KEGG API official website didn't work. Is the KEGG API still available? or I use the wrong way. This is my API url (http://api.kegg.net/get/ko/K00768). Is there anyone could provide an available KEGG API url for KO ID K00768? very appreciate.
3 answers
You can get all definition at http://rest.kegg.jp/list/ko
If you want to get only K00768 definition, you can use http://rest.kegg.jp/find/ko/ko:K00768
An example using the REST API and python: http://exploringlifedata.blogspot.fr/
not a direct answer to OP. But OP can try getting KEGG KO information from togows (web services) server. For eg for getting definition for OP mentioned KO: http://togows.org/entry/kegg-orthology/K00873/definition
thanks for give me a useful method to solve my problem
Hi fanglujing, please Upvote! any answers that have helped, and 'Accept' any answers that have solved the problem. This will allow others who are searching through the site or a search engine to know which solutions worked.
Kevin
Log in to answer this question.
Did you subscribe and pay the licence fee? If yes, you can contact the API's help desk. According to the manual at kegg.net the URL should look like this http://www.kegg.jp/entry/K00873 .
thanks, I just found a useful R package called KEGGREST. This package can help me figure out this problem. Anyway, many thanks.