jonathanjordan21 commited on
Commit
84fef6e
·
verified ·
1 Parent(s): ea5abdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def greet_json():
11
  @app.get("/kline")
12
  def get_kline(symbol : str):
13
  res = requests.get("https://api.binance.com/dapi/v1/klines?symbol="+symbol)
14
- print(res.header)
15
  if res.status_code == 200:
16
  return res.json()
17
  return {"error":res.text}
 
11
  @app.get("/kline")
12
  def get_kline(symbol : str):
13
  res = requests.get("https://api.binance.com/dapi/v1/klines?symbol="+symbol)
14
+ print(res.headers)
15
  if res.status_code == 200:
16
  return res.json()
17
  return {"error":res.text}