Skip to content

Instantly share code, notes, and snippets.

View elliott-wen's full-sized avatar

Elliott.Wen elliott-wen

View GitHub Profile
@elliott-wen
elliott-wen / example.py
Last active September 16, 2023 00:31
How to use GHFeed
import gzip
import json
import requests
# Download the log file
resp = requests.get("https://www.ghfeed.org/data/2023-09-16-10.json.gz")
open('data.gz', 'wb').write(resp.content)
# Parse the log file