Can you give an example of what you've tried so far? And when you say shared file, do you mean "shared by link, public access" (i.e. download it like any other URL) or "shared with your account, so you need to log in and then download the file via the API" (i.e. more complicated).