Created
April 3, 2023 02:27
-
-
Save blu3r4d0n/1085c58394e6ae111b1b6bd911e49818 to your computer and use it in GitHub Desktop.
Dump SC Ethics Filing campaign contributions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
url = "https://ethicsfiling.sc.gov/api/Candidate/Contribution/Search/" | |
payload = { | |
"amountMin": 0, | |
"amountMax": 0, | |
"officeRun": "", | |
"candidate": "", | |
"contributorName": "", | |
"contributorOccupation": "", | |
"contributionDescription": "", | |
"contributionDateMin": "1990-01-01T04:00:00.000Z", | |
"contributionDateMax": "2023-03-28T04:00:00.000Z", | |
"contributorCity": "", | |
"contributorZip": None | |
} | |
response = requests.request("POST", url, json=payload) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment