title: How to get account information via using API Binance in Python
body: <p>I am trying to get account information by using requests library with the code below.</p>
  <p><a href="https://i.stack.imgur.com/3L7zX.png" rel="nofollow noreferrer">enter image description here</a></p>
  <pre><code>import requests
  
  url = 'https://api.binance.com'
  api_get_info = '/sapi/v1/accountSnapshot'
  hmac_sha256 = 'api_key'
  get_account_info = requests.get(url+api_get_info+api_get_info)
  
  print(get_account_info.text) 
  </code></pre>
  <p>I have no idea what the url should be like. Could you guys please give me some idea :)</p>