{"id":28386489,"url":"https://github.com/igniteui/usa-elections-api","last_synced_at":"2025-07-02T08:38:08.722Z","repository":{"id":257721677,"uuid":"859131220","full_name":"IgniteUI/usa-elections-api","owner":"IgniteUI","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-07T16:50:15.000Z","size":10789,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":30,"default_branch":"master","last_synced_at":"2025-05-30T18:40:17.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/IgniteUI.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}},"created_at":"2024-09-18T06:24:14.000Z","updated_at":"2024-11-07T16:50:18.000Z","dependencies_parsed_at":"2024-09-18T09:04:40.727Z","dependency_job_id":"e0ea0068-7b64-4a25-8058-ebed58528194","html_url":"https://github.com/IgniteUI/usa-elections-api","commit_stats":null,"previous_names":["igniteui/usa-elections-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IgniteUI/usa-elections-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgniteUI%2Fusa-elections-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgniteUI%2Fusa-elections-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgniteUI%2Fusa-elections-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgniteUI%2Fusa-elections-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IgniteUI","download_url":"https://codeload.github.com/IgniteUI/usa-elections-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IgniteUI%2Fusa-elections-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262094407,"owners_count":23257958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-05-30T14:43:30.114Z","updated_at":"2025-07-02T08:38:08.703Z","avatar_url":"https://github.com/IgniteUI.png","language":"C#","readme":"# Swagger URL\nhttps://elections.appbuilder.dev/swagger/index.html\n\nThis project provides an API for accessing and visualizing data for U.S. elections over the years 1940 - 2024. \n**Note: The results for 2024 are predictions based on available data sources and do not reflect the actual election outcome. \nSource for 2024 predictions: The Economist newspaper as of September 30, 2024**\nhttps://www.economist.com/interactive/us-2024-election/prediction-model/president\n\n## Technologies\n- **ASP.NET Core Web API**\n- **Docker**\n- **Newtonsoft.Json**\n- **Swagger**\n\n## Data Source\nThe election data is sourced from publicly available datasets and historical election records. For the 2024 predictions, data from credible prediction models has been used. The 2024 results are subject to change and are not be considered final.\n\n## Endpoints\n- **`GET /years`**  \n- **`GET /year/{year}`** \n- **`GET /states-abbreviation`**  \n- **`GET /state/{abbreviation}`**  \n- **`GET /democratic-candidate/{year}`**  \n- **`GET /republican-candidate/{year}`** \n- **`GET /electoral-votes/{year}`**  \n- **`GET /popular-votes/{year}`**  \n- **`GET /electoral-votes/{year}/{party}`**  \n- **`GET /popular-votes/{year}/{party}`** \n- **`GET /popular-votes/{year}/by-state`** \n- **`GET /votes/{year}/by-candidate`** \n\n## Docker Instructions\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figniteui%2Fusa-elections-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figniteui%2Fusa-elections-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figniteui%2Fusa-elections-api/lists"}