Asana / python-asana

Official Python client library for the Asana API v1
MIT License
299 stars 103 forks source link

Accessing images associated with tasks via the Python API #109

Closed jamois closed 4 years ago

jamois commented 4 years ago

I would like to access the images associated with tasks using the API but it does not appear to be documented. Given you are providing the user's profile image (which is way less important than the images associated with project tasks), I am hoping there is way to also access task images. Thx

jjschnei commented 4 years ago

@jamois images on tasks are called attachments in the Asana API. You can certainly read and write attachments on tasks. Here is how you would do so with the Python client library and here are the Asana API docs for attachments.

jamois commented 4 years ago

Awesome. I kept looking for "image" or "picture" in the API doc. Thanks for the help!