Full instructions for programmatic downloads here.
You need:
- to register for a username and password on Synapse
- to install the Python package:
pip install synapseclient
syn22164713
is a placeholder for the dataset ID on Synapse.
import synapseclient
syn = synapseclient.Synapse()
syn.login()
# Obtain a pointer and download the data
entity = syn.get(entity='syn22164713' )
# Get the path to the local copy of the data file
filepath = entity.path
synapse get syn22164713