Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrdnbradford/get-legislator-data
Sheet-bound Google Apps Script that fetches and sets Legislator data values into Sheet
https://github.com/jrdnbradford/get-legislator-data
congress google-apps-script google-sheets legislators
Last synced: about 1 month ago
JSON representation
Sheet-bound Google Apps Script that fetches and sets Legislator data values into Sheet
- Host: GitHub
- URL: https://github.com/jrdnbradford/get-legislator-data
- Owner: jrdnbradford
- License: gpl-3.0
- Created: 2020-09-10T15:45:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-09-20T17:04:11.000Z (over 4 years ago)
- Last Synced: 2024-11-08T00:52:47.097Z (3 months ago)
- Topics: congress, google-apps-script, google-sheets, legislators
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Get-Legislator-Data
The [@unitedstates project](https://theunitedstates.io/) makes data on currently serving members of Congress available in a variety of formats.The [getLegislatorData.gs](getLegislatorData.gs) Google Apps Script is a Google Sheet-bound script that uses the [URL Fetch Service](https://developers.google.com/apps-script/reference/url-fetch) to retrieve this [data](https://theunitedstates.io/congress-legislators/legislators-current.csv), add hyperlinks to social media accounts, split up the address column, and set the resulting values in the Sheet. The URL Fetch Service is subject to [quotas and limitations](https://developers.google.com/apps-script/guides/services/quotas).
You can find more data and info on the @unitedstates project at [GitHub](https://github.com/unitedstates/).
## Recommend OAuth Scopes
```json
{
"oauthScopes": [
"https://www.googleapis.com/auth/spreadsheets.currentonly",
"https://www.googleapis.com/auth/script.external_request"
]
}
```## Authors
**Jordan Bradford** - GitHub: [jrdnbradford](https://github.com/jrdnbradford)## License
This script is licensed under the [GPLv3 license](LICENSE.txt).