How to use Affinity's API to download a list