Open BeatWolf opened 9 months ago
Hi @BeatWolf, there is an issue with the web service currently, we are working on fixing it.
@BeatWolf : it should work now, please try again. I just tried getting all pathways from Homo sapiens (https://webservice.wikipathways.org/listPathways?organism=Homo%20sapiens), and results were returned within a few seconds.
@BeatWolf On a related note: We have a new JSON-based API we are planning to migrate to. The current (not-so-stable) one will be retired at some point in the future.
If you want to share more about how you use our API, we can provide code examples to help you migrate. For example, do you use the R, Python or Java client libraries? Do you use the Swagger UI by hand? Or do you use curl or direct http calls from your scripts?
And which methods do you use?
Here is the documentation for the new API so far: https://www.wikipathways.org/json/ Essentially, we have pre-compiled JSON responses for everything, so you can just grab the JSON you need and parse it from there.
Hi, thank you for the fix.
As for the new API, indeed, although i usually only need the pathways of one organism, the URL: https://www.wikipathways.org/json/listPathways.json Has all i need and is faster than the API, so i'll just switch to that.
After that i need some information about the pathways. Mostly to map them to the correct genes. As this needs to work for multiple species and sometimes i have ensembl genes and sometimes refseq genes etc, i get the information through the sparql endpoint:
I think i could maybe get the same information through https://www.wikipathways.org/json/findPathwaysByXref.json and https://www.wikipathways.org/json/findPathwaysByText.json But i think thats trickier. I would like to have for every node/gene mentioned to get as much information as i can, to then map it to the current gene model. I do not think anything like that is possible currently with the new API?
What is the issue with the pathway?
Hi, i'm trying to use the API, notably to get all pathways from a given species. When using for example: https://webservice.wikipathways.org/ui/#!/Organism_list/get_listOrganisms
With Homo sapiens, it is slow and often simply times out.
What kind of content issue is this?
Type of revision