Skip to content

Instantly share code, notes, and snippets.

@edsu
Last active June 6, 2025 14:45
Show Gist options
  • Save edsu/1af1045d085618487dd2adc61770d75b to your computer and use it in GitHub Desktop.
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/
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