Skip to content

Instantly share code, notes, and snippets.

View Jaycso's full-sized avatar

Jayden Thompson Jaycso

  • Isle of Man
  • 23:21 (UTC)
View GitHub Profile
@Jaycso
Jaycso / stoplocations.py
Created March 12, 2026 22:06
Script to add location data to stops.txt
import csv
import requests
def main():
input_file = "gtfs/stops.txt"
output_file = "gtfs/stops_updated.txt"
base_url = "https://bustimes.org/api/stops/?atco_code="
not_found = []