Programmatic access to latest data version

I’m trying to download the OpenTargets data using scripts. I’m using the FTP links to do this. When there is a new release I’m unable to get the latest data. Is there a way to get the latest data version number programmatically, so that I can replace the version in the FTP link? Thanks.

Hi Thawfeek,

You can use the address, which is a symlink always pointing to the most recent release. If you are interested in the actual version, you can get it from the resolved address which is at the moment.

Please let me know if this answer doesn’t address your question completely.

Hi Daniel,

Just what I was looking for. Thanks :slight_smile: