Skip to content

Instantly share code, notes, and snippets.

View esand's full-sized avatar

Eli Sand esand

  • Canada
View GitHub Profile
@eljojo
eljojo / hydro_ottawa_usage.py
Last active January 18, 2026 03:14
fork of Philip's hydro scraper for google cloud functions - based on https://gist.github.com/exterm/97d624193b6b556d259c6eb7b027d6ab
import functions_framework
import requests
from pycognito import Cognito
from flask import jsonify
from datetime import datetime, timedelta
from google.cloud import storage
import json
from dateutil import parser
from zoneinfo import ZoneInfo