title: How can I download attachments from a list in SharePoint using an API?
body: <p>How can I download attachments from a list (not the documents of the page) in SharePoint using an API in Python?</p>
  <p>I have a list with 60+ rows and the contents is added from a Power App form. Each row is a different entry and may or may not have an attachment.</p>
  <p>I'm working on an automation process that will read each line of the list and enter it into SAP.
  I can't seem to find an API that can get attachments from a list, they are all about getting them from the documents folder of the page.</p>
  <p>Below is the site URL I'm using, and what the list looks like.</p>
  <pre><code>https://{site url}/sites/{group name}/Lists/{listname}/AllItems.aspx?e=3%3A32b71e288cd841f5b13422c0b99ffe89&amp;at=9
  </code></pre>
  <p><a href="https://i.stack.imgur.com/0ddHI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ddHI.png" alt="enter image description here" /></a></p>