title: How can I get the new price?
body: <p>Hello I am programming using Python and I have a script which allows to get the price of bitcoin on Binance. Here is my code :</p>
  
  <pre><code>import requests
  import json
  
  url = requests.get('https://api.binance.com/api/v1/ticker/price?symbol=BTCUSDT')
  data = url.json()
  
  print(data['price'])
  </code></pre>
  
  <p>But I would like to have a script which allows to update when the price changed. Do you know how can I do this ? </p>
  
  <p>Thank you very much !</p>