Trouble with setting up Galaxy API

Hello,
I’m trying to use the galaxy api & I’m currently reading through the docs ( Quickstart — Galaxy Project 21.01 documentation )
but from the start I’m experiencing problems
It asks me to use a file called " display.py " but I cannot find it anywhere in my galaxy files.
I’m not sure whether this is an issue with the docs or whether I have downloaded something incorrectly.
Could someone enlighten me?
Thank you in advance!
ps. I am a beginner when it comes to working with APIs

Hi @stvlar,
you can find that file in /galaxy/scripts/api/. Do not hesitate to ask any questions you may have.

Regards

2 Likes

Thank you so much I found it!
I have managed to connect to the API and run some tools and workflows but I’m having trouble getting the results via API call to my local computer. I’m using BioBlend and it doesn’t mention result retrieval in the docs API documentation for interacting with Galaxy — BioBlend 0.15.0 documentation
Do you have any insight on this?
Thank you in advance!

1 Like

I’m asking specifically because I want to make the results downloadable for people other than me

1 Like

Hi @stvlar,
I asked one of the people in charge of BioBlend; I’ll provide you a response in the next hours.

Regards

Hi @stvlar,

when you run a tool through Galaxy / BioBlend, it will produce some datasets as outputs. If you know the dataset id, you can then download it using the gi.datasets.download_dataset() method. To make them available to other users, you can use the publish_dataset() method.

Hope this helps?

Simon