Commit 31bef3ad authored by CEVAER's avatar CEVAER
Browse files

reset cyclobs prod site for API

parent ed7f78f9
......@@ -47,7 +47,7 @@ def get_track_points_from_database(session, date):
def get_track_points_from_api(date):
min_date = date.strftime("%Y-%m-%d")
max_date = (date + datetime.timedelta(days=2)).strftime("%Y-%m-%d")
req = f"http://derive.ifremer.fr/app/api/track?min_date={min_date}&max_date={max_date}"
req = f"https://cyclobs.ifremer.fr/app/api/track?min_date={min_date}&max_date={max_date}"
try:
df = pd.read_csv(req)
df["date"] = pd.to_datetime(df["date"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment