Last active
June 6, 2025 14:45
-
-
Save edsu/1af1045d085618487dd2adc61770d75b to your computer and use it in GitHub Desktop.
Track the progress of the Freedom Flotilla in a DataFrame https://freedomflotilla.org/ffc-tracker/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import pandas | |
url = "https://flotilla-orpin.vercel.app/api/vessel" | |
df = pandas.DataFrame.from_records(requests.get(url).json()["vessels"]["232057367"]["positions"]) | |
df.last_position_UTC = pandas.to_datetime(df.last_position_UTC) | |
print(df) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment