raomyousaf commited on
Commit
ab9ff1e
·
verified ·
1 Parent(s): 4745776

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import matplotlib.pyplot as plt
5
 
6
  # Fetch data from the non-SSL API (example API URL)
7
  def fetch_data_from_api():
8
- api_url = "https://103.9.23.45/TrakkerServices/Api/Home/GetSOSLastLocation/SOSUser1/SOSPassword1/03300607077/cae-5499" # Replace with your actual non-SSL API URL
9
  response = requests.get(api_url)
10
  data = response.json() # Assumes the response is in JSON format
11
  return data
 
5
 
6
  # Fetch data from the non-SSL API (example API URL)
7
  def fetch_data_from_api():
8
+ api_url = "http://example.com/api" # Replace with your actual non-SSL API URL
9
  response = requests.get(api_url)
10
  data = response.json() # Assumes the response is in JSON format
11
  return data