{"id":20858495,"url":"https://github.com/nickcrews/apoc-data","last_synced_at":"2026-05-20T15:05:35.271Z","repository":{"id":248610532,"uuid":"829207634","full_name":"NickCrews/apoc-data","owner":"NickCrews","description":"Data from the Alaska Public Offices Commission","archived":false,"fork":false,"pushed_at":"2026-05-09T12:15:01.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-09T14:29:58.981Z","etag":null,"topics":["campaign-finance","playwright-python","webscraping"],"latest_commit_sha":null,"homepage":"https://aws.state.ak.us/ApocReports/Campaign/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NickCrews.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-16T01:27:49.000Z","updated_at":"2026-02-20T21:21:18.000Z","dependencies_parsed_at":"2025-05-12T22:46:28.818Z","dependency_job_id":"8a844490-296e-4cc5-84bb-62bd6db579fa","html_url":"https://github.com/NickCrews/apoc-data","commit_stats":null,"previous_names":["nickcrews/apoc-data"],"tags_count":535,"template":false,"template_full_name":null,"purl":"pkg:github/NickCrews/apoc-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCrews%2Fapoc-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCrews%2Fapoc-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCrews%2Fapoc-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCrews%2Fapoc-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NickCrews","download_url":"https://codeload.github.com/NickCrews/apoc-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NickCrews%2Fapoc-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33105712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["campaign-finance","playwright-python","webscraping"],"created_at":"2024-11-18T04:46:13.449Z","updated_at":"2026-05-16T14:01:21.207Z","avatar_url":"https://github.com/NickCrews.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# APOC Data\n\nData from the [Alaska Public Offices Commission](https://aws.state.ak.us/ApocReports/Campaign/).\n\nThis scrapes the CSV files from the APOC website once a day and uploads them to\n[this repo's releases](https://github.com/NickCrews/apoc-data/releases).\n\n## Manual\n\nBrowse from [this repo's releases](https://github.com/NickCrews/apoc-data/releases).\n\n## Python\n\n`pip install apoc-data` and then\n\n```python\nfrom apoc_data.download import download\n\ndownload(\n    release=\"latest\",\n    filename=\"debt.csv\",\n    destination=\"apoc_debt.csv\",\n)\n```\n\n## Shell\n\nYou can download these CSVs using the direct URLs from the releases page\nusing curl, pandas, ibis, whatever!\n\n```bash\ncurl -L https://github.com/NickCrews/apoc-data/releases/download/20240716-025636/candidate_registration.csv \u003e candidate_registration.csv\n```\n\nor we have a tiny python script that makes this a little nicer, eg get the latest\nrelease, choose the download directory, etc. Read the script for more info.\n\n```bash\ncurl -s https://raw.githubusercontent.com/NickCrews/apoc-data/main/src/apoc_data/download.py | python - --release latest\n```\n\n## Dev Notes\n\n```shell\npdm install\nplaywright install chromium\n```\n\nscrape:\n\n```shell\npython -m apoc_data.scrape --directory downloads --no-headless\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcrews%2Fapoc-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickcrews%2Fapoc-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickcrews%2Fapoc-data/lists"}