{"id":13509545,"url":"https://github.com/walterbm/govtrack-elixir","last_synced_at":"2025-10-21T15:04:56.216Z","repository":{"id":57502902,"uuid":"64575520","full_name":"walterbm/govtrack-elixir","owner":"walterbm","description":"Simple Elixir package for the govtrack.us API","archived":true,"fork":false,"pushed_at":"2023-01-16T07:19:18.000Z","size":317,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T17:49:50.171Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walterbm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-31T03:41:44.000Z","updated_at":"2023-01-16T07:19:37.000Z","dependencies_parsed_at":"2023-02-10T01:45:56.250Z","dependency_job_id":null,"html_url":"https://github.com/walterbm/govtrack-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterbm%2Fgovtrack-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterbm%2Fgovtrack-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterbm%2Fgovtrack-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walterbm%2Fgovtrack-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walterbm","download_url":"https://codeload.github.com/walterbm/govtrack-elixir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246324081,"owners_count":20759072,"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":"2024-08-01T02:01:09.334Z","updated_at":"2025-10-21T15:04:50.857Z","avatar_url":"https://github.com/walterbm.png","language":"Elixir","readme":"# Govtrack\n\n[![Build Status](https://travis-ci.org/walterbm/govtrack-elixir.svg?branch=master)](https://travis-ci.org/walterbm/govtrack-elixir) [![Hex.pm](https://img.shields.io/hexpm/v/govtrack.svg?maxAge=2592000?style=flat-square)](https://hex.pm/packages/govtrack)\n# ⛔️ DEPRECATED ⛔️\n_The GovTrack API was shutdown in December 2016_\n\n---\n\nAn elixir wrapper for the [govtrack.us](https://www.govtrack.us/developers) API that provides programmatic access to information about the U.S. Congress.\n\n## Installation\n\n[Available through Hex](https://hex.pm/packages/govtrack), and can be installed by:\n\n1. Adding `govtrack` to your list of dependencies in `mix.exs`:\n```elixir\ndef deps do\n  [{:govtrack, \"~\u003e 0.7.3\"}]\nend\n```\n\n2. Ensuring `govtrack` is initialized before your main elixir application:\n```elixir\ndef application do\n  [applications: [:govtrack]]\nend\n```\n\n## Usage\n\nThis `Govtrack` module is meant to be a simple wrapper for the official [govtrack.us](https://www.govtrack.us/developers) API. The module automatically parses the JSON response and provides a few sensible defaults to common queries.\n\n### Supported Endpoints:\n\n- [bill](https://www.govtrack.us/developers/api#endpoint_bill)\n- [cosponsorship](https://www.govtrack.us/developers/api#endpoint_cosponsorship)\n- [person](https://www.govtrack.us/developers/api#endpoint_person)\n- [role](https://www.govtrack.us/developers/api#endpoint_role)\n- [vote](https://www.govtrack.us/developers/api#endpoint_vote)\n- [vote_voter](https://www.govtrack.us/developers/api#endpoint_vote_voter)\n- [committee](https://www.govtrack.us/developers/api#endpoint_committee)\n- [committee_member](https://www.govtrack.us/developers/api#endpoint_committee_member)\n\n### Basic Usage\n```elixir\nGovtrack.bills        #=\u003e Fetch all bills, ordered by most recently updated\n\nGovtrack.bill(12700)  #=\u003e Fetch information about a specific bill\n```\n\n### Querying\nAn optional `query` parameter can be passed to all the supported endpoints to narrow the results. The specific query strings are dictated by the [govtrack API](https://www.govtrack.us/developers/api).\n\n```elixir\nGovtrack.roles([current: true, state: \"NY\"])    #=\u003e Fetch all representatives for the State of New York.\n```\n","funding_links":[],"categories":["Third Party APIs"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterbm%2Fgovtrack-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalterbm%2Fgovtrack-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalterbm%2Fgovtrack-elixir/lists"}