congress 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +19 -72
- data/.travis.yml +6 -14
- data/Gemfile +4 -10
- data/README.md +0 -2
- data/Rakefile +6 -5
- data/congress.gemspec +3 -4
- data/lib/congress/client.rb +4 -4
- data/lib/congress/connection.rb +1 -1
- data/lib/congress/version.rb +1 -1
- metadata +7 -50
- data/.gemtest +0 -0
- data/spec/congress/client_spec.rb +0 -210
- data/spec/congress_spec.rb +0 -28
- data/spec/fixtures/bills.json +0 -1
- data/spec/fixtures/bills_search.json +0 -1
- data/spec/fixtures/committees.json +0 -1
- data/spec/fixtures/districts_locate.json +0 -1
- data/spec/fixtures/floor_updates.json +0 -1
- data/spec/fixtures/google_geocoding.json +0 -1
- data/spec/fixtures/hearings.json +0 -1
- data/spec/fixtures/legislators.json +0 -1
- data/spec/fixtures/legislators_locate.json +0 -1
- data/spec/fixtures/upcoming_bills.json +0 -1
- data/spec/fixtures/votes.json +0 -1
- data/spec/helper.rb +0 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ae6df46b32ab8e6a97ee81494ac457eddc249ec
|
4
|
+
data.tar.gz: 43bf6e104c9586f9e4f58ea7fda52c0fa7858dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621a47cc98ae075c49ece8950e4e32f777d36f75a6ebe44b04acd0141de7e4fb6c531c65399766c19e65b784bafcf32d492f158c3fb809e4c3919267a23586dc
|
7
|
+
data.tar.gz: 6165447ac0875594a087e82b79750a7a2e3a74119190ac11542d914e79cc47063d452bcd9561e87da823a390eb47344349e398a452f6475be2b0bc3bebfd26dc
|
data/.rubocop.yml
CHANGED
@@ -1,89 +1,36 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
- 'Gemfile'
|
4
|
-
- 'Rakefile'
|
5
|
-
- 'congress.gemspec'
|
6
|
-
|
7
|
-
# Avoid long parameter lists
|
8
|
-
ParameterLists:
|
9
|
-
Max: 3
|
10
|
-
CountKeywordArgs: true
|
11
|
-
|
12
|
-
ClassLength:
|
13
|
-
Max: 60
|
1
|
+
Metrics/BlockNesting:
|
2
|
+
Max: 2
|
14
3
|
|
15
|
-
LineLength:
|
4
|
+
Metrics/LineLength:
|
5
|
+
AllowURI: true
|
16
6
|
Enabled: false
|
17
7
|
|
18
|
-
MethodLength:
|
8
|
+
Metrics/MethodLength:
|
19
9
|
CountComments: false
|
20
|
-
Max:
|
10
|
+
Max: 10
|
21
11
|
|
22
|
-
|
23
|
-
|
24
|
-
|
12
|
+
Metrics/ParameterLists:
|
13
|
+
Max: 4
|
14
|
+
CountKeywordArgs: true
|
25
15
|
|
26
|
-
|
27
|
-
|
16
|
+
Style/AccessModifierIndentation:
|
17
|
+
EnforcedStyle: outdent
|
18
|
+
|
19
|
+
Style/CollectionMethods:
|
28
20
|
PreferredMethods:
|
29
21
|
map: 'collect'
|
30
22
|
reduce: 'inject'
|
31
23
|
find: 'detect'
|
32
24
|
find_all: 'select'
|
33
25
|
|
34
|
-
|
35
|
-
Documentation:
|
26
|
+
Style/Documentation:
|
36
27
|
Enabled: false
|
37
28
|
|
38
|
-
|
39
|
-
HashSyntax:
|
40
|
-
EnforcedStyle: hash_rockets
|
41
|
-
|
42
|
-
# No spaces inside hash literals
|
43
|
-
SpaceInsideHashLiteralBraces:
|
44
|
-
EnforcedStyle: no_space
|
45
|
-
|
46
|
-
# Allow dots at the end of lines
|
47
|
-
DotPosition:
|
29
|
+
Style/DoubleNegation:
|
48
30
|
Enabled: false
|
49
31
|
|
50
|
-
|
51
|
-
|
52
|
-
Enabled: false
|
53
|
-
|
54
|
-
# Enforce outdenting of access modifiers (i.e. public, private, protected)
|
55
|
-
AccessModifierIndentation:
|
56
|
-
EnforcedStyle: outdent
|
57
|
-
|
58
|
-
EmptyLinesAroundAccessModifier:
|
59
|
-
Enabled: true
|
60
|
-
|
61
|
-
# Align ends correctly
|
62
|
-
EndAlignment:
|
63
|
-
AlignWith: variable
|
64
|
-
|
65
|
-
# Indentation of when/else
|
66
|
-
CaseIndentation:
|
67
|
-
IndentWhenRelativeTo: end
|
68
|
-
IndentOneStep: false
|
69
|
-
|
70
|
-
Lambda:
|
71
|
-
Enabled: false
|
72
|
-
|
73
|
-
RaiseArgs:
|
74
|
-
EnforcedStyle: compact
|
75
|
-
|
76
|
-
PercentLiteralDelimiters:
|
77
|
-
PreferredDelimiters:
|
78
|
-
'%': ()
|
79
|
-
'%i': ()
|
80
|
-
'%q': ()
|
81
|
-
'%Q': ()
|
82
|
-
'%r': '{}'
|
83
|
-
'%s': ()
|
84
|
-
'%w': '[]'
|
85
|
-
'%W': '[]'
|
86
|
-
'%x': ()
|
32
|
+
Style/SpaceInsideHashLiteralBraces:
|
33
|
+
EnforcedStyle: no_space
|
87
34
|
|
88
|
-
|
89
|
-
|
35
|
+
Style/TrailingComma:
|
36
|
+
EnforcedStyleForMultiline: 'comma'
|
data/.travis.yml
CHANGED
@@ -1,28 +1,20 @@
|
|
1
|
-
before_install:
|
2
|
-
- gem update bundler
|
3
|
-
- bundle --version
|
4
|
-
- gem update --system 2.1.11
|
5
|
-
- gem --version
|
6
1
|
bundler_args: --without development
|
2
|
+
env:
|
3
|
+
global:
|
4
|
+
- JRUBY_OPTS="$JRUBY_OPTS --debug"
|
7
5
|
language: ruby
|
8
6
|
rvm:
|
9
|
-
- 1.8.7
|
10
|
-
- 1.9.2
|
11
7
|
- 1.9.3
|
12
8
|
- 2.0.0
|
13
9
|
- 2.1
|
10
|
+
- jruby-19mode
|
11
|
+
- jruby-head
|
14
12
|
- rbx-2
|
15
13
|
- ruby-head
|
16
14
|
matrix:
|
17
|
-
include:
|
18
|
-
- rvm: jruby-18mode
|
19
|
-
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
20
|
-
- rvm: jruby-19mode
|
21
|
-
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
22
|
-
- rvm: jruby-head
|
23
|
-
env: JRUBY_OPTS="$JRUBY_OPTS --debug"
|
24
15
|
allow_failures:
|
25
16
|
- rvm: jruby-head
|
26
17
|
- rvm: rbx-2
|
27
18
|
- rvm: ruby-head
|
28
19
|
fast_finish: true
|
20
|
+
sudo: false
|
data/Gemfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'jruby-openssl', :
|
3
|
+
gem 'jruby-openssl', platforms: :jruby
|
4
4
|
gem 'rake'
|
5
5
|
gem 'yard'
|
6
6
|
gem 'geocoder'
|
@@ -8,20 +8,14 @@ gem 'geocoder'
|
|
8
8
|
group :development do
|
9
9
|
gem 'kramdown'
|
10
10
|
gem 'pry'
|
11
|
-
platforms :ruby_19, :ruby_20 do
|
12
|
-
gem 'pry-debugger'
|
13
|
-
gem 'pry-stack_explorer'
|
14
|
-
end
|
15
11
|
end
|
16
12
|
|
17
13
|
group :test do
|
18
14
|
gem 'backports'
|
19
|
-
gem 'coveralls'
|
20
|
-
gem 'mime-types', '~> 1.25', :platforms => [:jruby, :ruby_18]
|
21
|
-
gem 'rest-client', '~> 1.6.0', :platforms => [:jruby, :ruby_18]
|
15
|
+
gem 'coveralls'
|
22
16
|
gem 'rspec', '>= 2.14'
|
23
|
-
gem 'rubocop', '>= 0.23'
|
24
|
-
gem 'simplecov',
|
17
|
+
gem 'rubocop', '>= 0.23'
|
18
|
+
gem 'simplecov', '>= 0.9'
|
25
19
|
gem 'webmock'
|
26
20
|
gem 'yardstick'
|
27
21
|
end
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ Bundler::GemHelper.install_tasks
|
|
4
4
|
require 'rspec/core/rake_task'
|
5
5
|
RSpec::Core::RakeTask.new(:spec)
|
6
6
|
|
7
|
-
task :
|
7
|
+
task test: :spec
|
8
8
|
|
9
9
|
begin
|
10
10
|
require 'rubocop/rake_task'
|
@@ -18,8 +18,8 @@ end
|
|
18
18
|
require 'yard'
|
19
19
|
namespace :doc do
|
20
20
|
YARD::Rake::YardocTask.new do |task|
|
21
|
-
task.files = %w
|
22
|
-
task.options = %w
|
21
|
+
task.files = %w(lib/**/*.rb)
|
22
|
+
task.options = %w(--markup markdown)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -30,7 +30,8 @@ end
|
|
30
30
|
|
31
31
|
require 'yardstick/rake/verify'
|
32
32
|
Yardstick::Rake::Verify.new do |verify|
|
33
|
-
verify.
|
33
|
+
verify.require_exact_threshold = false
|
34
|
+
verify.threshold = 60
|
34
35
|
end
|
35
36
|
|
36
|
-
task :
|
37
|
+
task default: [:spec, :rubocop, :verify_measurements]
|
data/congress.gemspec
CHANGED
@@ -5,19 +5,18 @@ Gem::Specification.new do |spec|
|
|
5
5
|
spec.add_dependency 'faraday', '~> 0.9.0'
|
6
6
|
spec.add_dependency 'faraday_middleware', '~> 0.9.1'
|
7
7
|
spec.add_dependency 'hashie', '~> 2.0'
|
8
|
-
spec.add_dependency 'json', '~> 1.8'
|
9
8
|
spec.add_dependency 'rash', '~> 0.4'
|
10
|
-
spec.add_dependency 'geocoder', '~> 1.
|
9
|
+
spec.add_dependency 'geocoder', '~> 1.2'
|
11
10
|
spec.add_development_dependency 'bundler', '~> 1.0'
|
12
11
|
spec.author = 'Erik Michaels-Ober'
|
13
12
|
spec.description = 'Ruby wrapper for the Sunlight Congress API, a live JSON API for the people and work of Congress, provided by the Sunlight Foundation.'
|
14
13
|
spec.email = 'sferik@gmail.com'
|
15
|
-
spec.files = `git ls-files`.split("\
|
14
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.start_with?('spec/') }
|
16
15
|
spec.homepage = 'https://github.com/codeforamerica/congress'
|
17
16
|
spec.licenses = ['MIT']
|
18
17
|
spec.name = 'congress'
|
19
18
|
spec.require_paths = ['lib']
|
19
|
+
spec.required_ruby_version = '>= 1.9.3'
|
20
20
|
spec.summary = 'Ruby wrapper for the Sunlight Congress API'
|
21
|
-
spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
22
21
|
spec.version = Congress::VERSION
|
23
22
|
end
|
data/lib/congress/client.rb
CHANGED
@@ -118,19 +118,19 @@ module Congress
|
|
118
118
|
|
119
119
|
private
|
120
120
|
|
121
|
-
def extract_location(args)
|
121
|
+
def extract_location(args) # rubocop:disable AbcSize, MethodLength
|
122
122
|
options = args.last.is_a?(::Hash) ? args.pop : {}
|
123
123
|
case args.size
|
124
124
|
when 1
|
125
125
|
case args[0]
|
126
126
|
when Integer, /\A[\d]{5}\Z/
|
127
|
-
options.merge!(:
|
127
|
+
options.merge!(zip: to_zip_code(args[0]))
|
128
128
|
when String
|
129
129
|
placemark = Geocoder.search(args[0]).first
|
130
|
-
options.merge!(:
|
130
|
+
options.merge!(latitude: placemark.latitude, longitude: placemark.longitude)
|
131
131
|
end
|
132
132
|
when 2
|
133
|
-
options.merge!(:
|
133
|
+
options.merge!(latitude: args[0], longitude: args[1])
|
134
134
|
end
|
135
135
|
options
|
136
136
|
end
|
data/lib/congress/connection.rb
CHANGED
@@ -11,7 +11,7 @@ module Congress
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def create_connection
|
14
|
-
Faraday.new(:
|
14
|
+
Faraday.new(url: ENDPOINT) do |connection|
|
15
15
|
middlewares.each { |middleware| connection.use(middleware) }
|
16
16
|
connection.adapter(Faraday.default_adapter)
|
17
17
|
end
|
data/lib/congress/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: congress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erik Michaels-Ober
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: json
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.8'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.8'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rash
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +72,14 @@ dependencies:
|
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
75
|
+
version: '1.2'
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
82
|
+
version: '1.2'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: bundler
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,7 +101,6 @@ executables: []
|
|
115
101
|
extensions: []
|
116
102
|
extra_rdoc_files: []
|
117
103
|
files:
|
118
|
-
- ".gemtest"
|
119
104
|
- ".gitignore"
|
120
105
|
- ".rspec"
|
121
106
|
- ".rubocop.yml"
|
@@ -132,20 +117,6 @@ files:
|
|
132
117
|
- lib/congress/connection.rb
|
133
118
|
- lib/congress/request.rb
|
134
119
|
- lib/congress/version.rb
|
135
|
-
- spec/congress/client_spec.rb
|
136
|
-
- spec/congress_spec.rb
|
137
|
-
- spec/fixtures/bills.json
|
138
|
-
- spec/fixtures/bills_search.json
|
139
|
-
- spec/fixtures/committees.json
|
140
|
-
- spec/fixtures/districts_locate.json
|
141
|
-
- spec/fixtures/floor_updates.json
|
142
|
-
- spec/fixtures/google_geocoding.json
|
143
|
-
- spec/fixtures/hearings.json
|
144
|
-
- spec/fixtures/legislators.json
|
145
|
-
- spec/fixtures/legislators_locate.json
|
146
|
-
- spec/fixtures/upcoming_bills.json
|
147
|
-
- spec/fixtures/votes.json
|
148
|
-
- spec/helper.rb
|
149
120
|
homepage: https://github.com/codeforamerica/congress
|
150
121
|
licenses:
|
151
122
|
- MIT
|
@@ -158,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
129
|
requirements:
|
159
130
|
- - ">="
|
160
131
|
- !ruby/object:Gem::Version
|
161
|
-
version:
|
132
|
+
version: 1.9.3
|
162
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
134
|
requirements:
|
164
135
|
- - ">="
|
@@ -166,23 +137,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
137
|
version: '0'
|
167
138
|
requirements: []
|
168
139
|
rubyforge_project:
|
169
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.4.4
|
170
141
|
signing_key:
|
171
142
|
specification_version: 4
|
172
143
|
summary: Ruby wrapper for the Sunlight Congress API
|
173
|
-
test_files:
|
174
|
-
- spec/congress/client_spec.rb
|
175
|
-
- spec/congress_spec.rb
|
176
|
-
- spec/fixtures/bills.json
|
177
|
-
- spec/fixtures/bills_search.json
|
178
|
-
- spec/fixtures/committees.json
|
179
|
-
- spec/fixtures/districts_locate.json
|
180
|
-
- spec/fixtures/floor_updates.json
|
181
|
-
- spec/fixtures/google_geocoding.json
|
182
|
-
- spec/fixtures/hearings.json
|
183
|
-
- spec/fixtures/legislators.json
|
184
|
-
- spec/fixtures/legislators_locate.json
|
185
|
-
- spec/fixtures/upcoming_bills.json
|
186
|
-
- spec/fixtures/votes.json
|
187
|
-
- spec/helper.rb
|
144
|
+
test_files: []
|
188
145
|
has_rdoc:
|
data/.gemtest
DELETED
File without changes
|
@@ -1,210 +0,0 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
describe Congress::Client do
|
4
|
-
let(:gmaps_api) { 'http://maps.googleapis.com/maps/api/geocode/json?address=2169%20Mission%20Street,%20San%20Francisco,%20CA%2094110&language=en&sensor=false' }
|
5
|
-
|
6
|
-
before do
|
7
|
-
@client = Congress::Client.new('abc123')
|
8
|
-
end
|
9
|
-
|
10
|
-
describe '#legislators' do
|
11
|
-
before do
|
12
|
-
stub_get('/legislators').
|
13
|
-
to_return(:status => 200, :body => fixture('legislators.json'))
|
14
|
-
end
|
15
|
-
it "fetches current legislators' names, IDs, biography, and social media" do
|
16
|
-
legislators = @client.legislators
|
17
|
-
expect(a_get('/legislators').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
18
|
-
expect(legislators['count']).to eq(539)
|
19
|
-
expect(legislators['results'].first.bioguide_id).to eq('K000385')
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
describe '#legislators_locate' do
|
24
|
-
context 'with a zip code passed' do
|
25
|
-
before do
|
26
|
-
stub_get('/legislators/locate').with(:query => {:zip => '06511'}).
|
27
|
-
to_return(:status => 200, :body => fixture('legislators_locate.json'))
|
28
|
-
stub_get('/legislators/locate').with(:query => {:zip => '94107'}).
|
29
|
-
to_return(:status => 200, :body => fixture('legislators_locate.json'))
|
30
|
-
end
|
31
|
-
it 'fetches representatives and senators for a zip code' do
|
32
|
-
legislators_locate = @client.legislators_locate(94107)
|
33
|
-
expect(a_get('/legislators/locate?zip=94107').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
34
|
-
expect(legislators_locate['count']).to eq(3)
|
35
|
-
expect(legislators_locate['results'].first.bioguide_id).to eq('P000197')
|
36
|
-
end
|
37
|
-
context 'zip code with leading zeroes' do
|
38
|
-
it 'pads with leading zeroes' do
|
39
|
-
@client.legislators_locate(6511)
|
40
|
-
expect(a_get('/legislators/locate?zip=06511').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
41
|
-
end
|
42
|
-
end
|
43
|
-
context 'zip code as string' do
|
44
|
-
it 'interprets five-digit strings as zip codes' do
|
45
|
-
@client.legislators_locate('06511')
|
46
|
-
expect(a_get('/legislators/locate?zip=06511').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
context 'with a latitude and longitude passed' do
|
51
|
-
before do
|
52
|
-
stub_get('/legislators/locate?latitude=37.775&longitude=-122.418').
|
53
|
-
to_return(:status => 200, :body => fixture('legislators_locate.json'))
|
54
|
-
end
|
55
|
-
it 'fetches representatives and senators for a latitude/longitude pair' do
|
56
|
-
legislators_locate = @client.legislators_locate(37.775, -122.418)
|
57
|
-
expect(a_get('/legislators/locate?latitude=37.775&longitude=-122.418').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
58
|
-
expect(legislators_locate['count']).to eq(3)
|
59
|
-
expect(legislators_locate['results'].first.bioguide_id).to eq('P000197')
|
60
|
-
end
|
61
|
-
end
|
62
|
-
context 'with an address passed' do
|
63
|
-
before do
|
64
|
-
stub_get('/legislators/locate?latitude=37.775&longitude=-122.418').
|
65
|
-
to_return(:status => 200, :body => fixture('legislators_locate.json'))
|
66
|
-
stub_request(:get, gmaps_api).to_return(:status => 200, :body => fixture('google_geocoding.json'))
|
67
|
-
end
|
68
|
-
it 'fetches representatives and senators for an address' do
|
69
|
-
legislators_locate = @client.legislators_locate('2169 Mission Street, San Francisco, CA 94110')
|
70
|
-
expect(a_request(:get, gmaps_api)).to have_been_made
|
71
|
-
expect(a_get('/legislators/locate?latitude=37.775&longitude=-122.418').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
72
|
-
expect(legislators_locate['count']).to eq(3)
|
73
|
-
expect(legislators_locate['results'].first.bioguide_id).to eq('P000197')
|
74
|
-
end
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
describe '#districts_locate' do
|
79
|
-
context 'with a zip code passed' do
|
80
|
-
before do
|
81
|
-
stub_get('/districts/locate?zip=94107').
|
82
|
-
to_return(:status => 200, :body => fixture('districts_locate.json'))
|
83
|
-
end
|
84
|
-
it 'fetches congressional districts for a zip code' do
|
85
|
-
districts_locate = @client.districts_locate(94107)
|
86
|
-
expect(a_get('/districts/locate?zip=94107').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
87
|
-
expect(districts_locate['count']).to eq(1)
|
88
|
-
expect(districts_locate['results'].first.district).to eq(12)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
context 'with a latitude and longitude passed' do
|
92
|
-
before do
|
93
|
-
stub_get('/districts/locate?latitude=37.775&longitude=-122.418').
|
94
|
-
to_return(:status => 200, :body => fixture('districts_locate.json'))
|
95
|
-
end
|
96
|
-
it 'fetches congressional districts for a latitude/longitude pair' do
|
97
|
-
districts_locate = @client.districts_locate(37.775, -122.418)
|
98
|
-
expect(a_get('/districts/locate?latitude=37.775&longitude=-122.418').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
99
|
-
expect(districts_locate['count']).to eq(1)
|
100
|
-
expect(districts_locate['results'].first.district).to eq(12)
|
101
|
-
end
|
102
|
-
end
|
103
|
-
context 'with an address passed' do
|
104
|
-
before do
|
105
|
-
stub_get('/districts/locate?latitude=37.775&longitude=-122.418').
|
106
|
-
to_return(:status => 200, :body => fixture('districts_locate.json'))
|
107
|
-
stub_request(:get, gmaps_api).to_return(:status => 200, :body => fixture('google_geocoding.json'))
|
108
|
-
end
|
109
|
-
it 'fetches congressional districts for an address' do
|
110
|
-
districts_locate = @client.districts_locate('2169 Mission Street, San Francisco, CA 94110')
|
111
|
-
expect(a_request(:get, gmaps_api)).to have_been_made
|
112
|
-
expect(a_get('/districts/locate?latitude=37.775&longitude=-122.418').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
113
|
-
expect(districts_locate['count']).to eq(1)
|
114
|
-
expect(districts_locate['results'].first.district).to eq(12)
|
115
|
-
end
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
describe '#committees' do
|
120
|
-
before do
|
121
|
-
stub_get('/committees').
|
122
|
-
to_return(:status => 200, :body => fixture('committees.json'))
|
123
|
-
end
|
124
|
-
it 'fetches current committees, subcommittees, and their membership' do
|
125
|
-
committees = @client.committees
|
126
|
-
expect(a_get('/committees').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
127
|
-
expect(committees['count']).to eq(120)
|
128
|
-
expect(committees['results'].first.chamber).to eq('senate')
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
132
|
-
describe '#bills' do
|
133
|
-
before do
|
134
|
-
stub_get('/bills').
|
135
|
-
to_return(:status => 200, :body => fixture('bills.json'))
|
136
|
-
end
|
137
|
-
it 'fetches legislation in the House and Senate' do
|
138
|
-
bills = @client.bills
|
139
|
-
expect(a_get('/bills').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
140
|
-
expect(bills['count']).to eq(28614)
|
141
|
-
expect(bills['results'].first.bill_id).to eq('s730-113')
|
142
|
-
end
|
143
|
-
end
|
144
|
-
|
145
|
-
describe '#bills_search' do
|
146
|
-
before do
|
147
|
-
stub_get('/bills/search').
|
148
|
-
to_return(:status => 200, :body => fixture('bills_search.json'))
|
149
|
-
end
|
150
|
-
it 'fetches legislation' do
|
151
|
-
bills_search = @client.bills_search
|
152
|
-
expect(a_get('/bills/search').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
153
|
-
expect(bills_search['count']).to eq(28614)
|
154
|
-
expect(bills_search['results'].first.bill_type).to eq('hr')
|
155
|
-
end
|
156
|
-
end
|
157
|
-
|
158
|
-
describe '#votes' do
|
159
|
-
before do
|
160
|
-
stub_get('/votes').
|
161
|
-
to_return(:status => 200, :body => fixture('votes.json'))
|
162
|
-
end
|
163
|
-
it 'fetches roll call votes in Congress' do
|
164
|
-
votes = @client.votes
|
165
|
-
expect(a_get('/votes').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
166
|
-
expect(votes['count']).to eq(4647)
|
167
|
-
expect(votes['results'].first.roll_id).to eq('h106-2013')
|
168
|
-
end
|
169
|
-
end
|
170
|
-
|
171
|
-
describe '#floor_updates' do
|
172
|
-
before do
|
173
|
-
stub_get('/floor_updates').
|
174
|
-
to_return(:status => 200, :body => fixture('floor_updates.json'))
|
175
|
-
end
|
176
|
-
it 'fetches to-the-minute updates from the floor of the House and Senate' do
|
177
|
-
floor_updates = @client.floor_updates
|
178
|
-
expect(a_get('/floor_updates').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
179
|
-
expect(floor_updates['count']).to eq(3066)
|
180
|
-
expect(floor_updates['results'].first.chamber).to eq('senate')
|
181
|
-
end
|
182
|
-
end
|
183
|
-
|
184
|
-
describe '#hearings' do
|
185
|
-
before do
|
186
|
-
stub_get('/hearings').
|
187
|
-
to_return(:status => 200, :body => fixture('hearings.json'))
|
188
|
-
end
|
189
|
-
it 'fetches committee hearings in Congress' do
|
190
|
-
hearings = @client.hearings
|
191
|
-
expect(a_get('/hearings').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
192
|
-
expect(hearings['count']).to eq(1279)
|
193
|
-
expect(hearings['results'].first.committee_id).to eq('SSFR')
|
194
|
-
end
|
195
|
-
end
|
196
|
-
|
197
|
-
describe '#upcoming_bills' do
|
198
|
-
before do
|
199
|
-
stub_get('/upcoming_bills').
|
200
|
-
to_return(:status => 200, :body => fixture('upcoming_bills.json'))
|
201
|
-
end
|
202
|
-
it 'fetches bills scheduled for debate in the future, as announced by party leadership' do
|
203
|
-
upcoming_bills = @client.upcoming_bills
|
204
|
-
expect(a_get('/upcoming_bills').with(:headers => {'X-APIKEY' => 'abc123'})).to have_been_made
|
205
|
-
expect(upcoming_bills['count']).to eq(9)
|
206
|
-
expect(upcoming_bills['results'].first.bill_id).to eq('s3457-113')
|
207
|
-
end
|
208
|
-
end
|
209
|
-
|
210
|
-
end
|
data/spec/congress_spec.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
require 'helper'
|
2
|
-
|
3
|
-
describe Congress do
|
4
|
-
describe '.new' do
|
5
|
-
it 'returns a Congress::Client' do
|
6
|
-
expect(Congress.new).to be_a Congress::Client
|
7
|
-
end
|
8
|
-
it 'sets key with a blog' do
|
9
|
-
Congress.new do |c|
|
10
|
-
c.key = 'abc123'
|
11
|
-
end
|
12
|
-
expect(Congress.key).to eq('abc123')
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
describe '.method_missing' do
|
17
|
-
before do
|
18
|
-
stub_get('/legislators').
|
19
|
-
to_return(:status => 200, :body => fixture('legislators.json'))
|
20
|
-
end
|
21
|
-
it 'delegates to an instance of Congress::Client' do
|
22
|
-
Congress.key = 'abc123'
|
23
|
-
client = Congress.new
|
24
|
-
expect(client).to receive(:legislators)
|
25
|
-
Congress.legislators
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
data/spec/fixtures/bills.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"bill_id":"s730-113","bill_type":"s","chamber":"senate","committee_ids":[],"congress":113,"cosponsors_count":0,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":730,"official_title":"A bill to prevent criminals from obtaining firearms through straw purchasing and trafficking.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"C001098","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/730","govtrack":"http://www.govtrack.us/congress/bills/113/s730","opencongress":"http://www.opencongress.org/bill/113-s730/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s729-113","bill_type":"s","chamber":"senate","committee_ids":[],"congress":113,"cosponsors_count":10,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":729,"official_title":"A bill to protect law abiding citizens by preventing criminals from obtaining firearms.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"C001098","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/729","govtrack":"http://www.govtrack.us/congress/bills/113/s729","opencongress":"http://www.opencongress.org/bill/113-s729/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s728-113","bill_type":"s","chamber":"senate","committee_ids":["SSFI"],"congress":113,"cosponsors_count":2,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":728,"official_title":"A bill to amend the Internal Revenue Code of 1986 to extend the exclusion from gross income for employer-provided health coverage for employees' spouses and dependent children to coverage provided to other eligible designated beneficiaries of employees.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"S000148","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/728","govtrack":"http://www.govtrack.us/congress/bills/113/s728","opencongress":"http://www.opencongress.org/bill/113-s728/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s727-113","bill_type":"s","chamber":"senate","committee_ids":["SSBK"],"congress":113,"cosponsors_count":1,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":727,"official_title":"A bill to improve the examination of depository institutions, and for other purposes.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"M000934","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/727","govtrack":"http://www.govtrack.us/congress/bills/113/s727","opencongress":"http://www.opencongress.org/bill/113-s727/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s726-113","bill_type":"s","chamber":"senate","committee_ids":["SSHR"],"congress":113,"cosponsors_count":1,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":726,"official_title":"A bill to amend the Public Health Service Act to provide health care practitioners in rural areas with training in preventive health care, including both physical and mental care, and for other purposes.","popular_title":null,"related_bill_ids":[],"short_title":"Rural Preventive Health Care Training Act of 2013","sponsor_id":"S001194","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/726","govtrack":"http://www.govtrack.us/congress/bills/113/s726","opencongress":"http://www.opencongress.org/bill/113-s726/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s725-113","bill_type":"s","chamber":"senate","committee_ids":["SSFI"],"congress":113,"cosponsors_count":0,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":725,"official_title":"A bill to provide a taxpayer bill of rights for small businesses.","popular_title":null,"related_bill_ids":[],"short_title":"Small Business Taxpayer Bill of Rights Act of 2013","sponsor_id":"C001056","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/725","govtrack":"http://www.govtrack.us/congress/bills/113/s725","opencongress":"http://www.opencongress.org/bill/113-s725/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s724-113","bill_type":"s","chamber":"senate","committee_ids":["SSGA"],"congress":113,"cosponsors_count":9,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":724,"official_title":"A bill to provide flexibility to agencies on determining what employees are essential personnel in implementing the sequester.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"B000575","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/724","govtrack":"http://www.govtrack.us/congress/bills/113/s724","opencongress":"http://www.opencongress.org/bill/113-s724/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s723-113","bill_type":"s","chamber":"senate","committee_ids":["SSFI"],"congress":113,"cosponsors_count":2,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":723,"official_title":"A bill to require the Commissioner of Social Security to revise the medical and evaluation criteria for determining disability in a person diagnosed with Huntington's Disease and to waive the 24-month waiting period for Medicare eligibility for individuals disabled by Huntington's Disease.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"G000555","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/723","govtrack":"http://www.govtrack.us/congress/bills/113/s723","opencongress":"http://www.opencongress.org/bill/113-s723/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s722-113","bill_type":"s","chamber":"senate","committee_ids":["SSFI"],"congress":113,"cosponsors_count":0,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":722,"official_title":"A bill to require the Secretary of the Treasury to study the feasibility of providing certain taxpayers with an optional pre-prepared tax return, and for other purposes.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"S001181","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/722","govtrack":"http://www.govtrack.us/congress/bills/113/s722","opencongress":"http://www.opencongress.org/bill/113-s722/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s721-113","bill_type":"s","chamber":"senate","committee_ids":["SSCM"],"congress":113,"cosponsors_count":1,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":721,"official_title":"A bill to amend the Communications Act of 1934 to require a provider of a commercial mobile service or an IP-enabled voice service to provide call location information concerning the user of such a service to law enforcement agencies in order to respond to a call for emergency services or in an emergency situation that involves risk of death or serious physical harm.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"R000307","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/721","govtrack":"http://www.govtrack.us/congress/bills/113/s721","opencongress":"http://www.opencongress.org/bill/113-s721/show"},"withdrawn_cosponsors_count":0},{"bill_id":"s720-113","bill_type":"s","chamber":"senate","committee_ids":["SSFI"],"congress":113,"cosponsors_count":7,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":720,"official_title":"A bill to amend the Internal Revenue Code of 1986 to provide for taxpayers making donations with their returns of income tax to the Federal Government to pay down the public debt.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"T000250","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-bill/720","govtrack":"http://www.govtrack.us/congress/bills/113/s720","opencongress":"http://www.opencongress.org/bill/113-s720/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hjres39-113","bill_type":"hjres","chamber":"house","committee_ids":["HSJU"],"congress":113,"cosponsors_count":0,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version":{"version_code":"ih","issued_on":"2013-04-15","version_name":"Introduced in House","bill_version_id":"hjres39-113-ih","urls":{"html":"http://www.gpo.gov/fdsys/pkg/BILLS-113hjres39ih/html/BILLS-113hjres39ih.htm","pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-113hjres39ih/pdf/BILLS-113hjres39ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-113hjres39ih/xml/BILLS-113hjres39ih.xml"}},"last_version_on":"2013-04-15","last_vote_at":null,"number":39,"official_title":"Proposing an amendment to the Constitution of the United States.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"N000182","urls":{"congress":"http://beta.congress.gov/bill/113th/house-joint-resolution/39","govtrack":"http://www.govtrack.us/congress/bills/113/hjres39","opencongress":"http://www.opencongress.org/bill/113-hj39/show"},"withdrawn_cosponsors_count":0},{"bill_id":"sres97-113","bill_type":"sres","chamber":"senate","committee_ids":["SSHR"],"congress":113,"cosponsors_count":2,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":97,"official_title":"A resolution expressing the sense of the Senate that the Food and Drug Administration should encourage the use of abuse-deterrent formulations of drugs.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"C000560","urls":{"congress":"http://beta.congress.gov/bill/113th/senate-resolution/97","govtrack":"http://www.govtrack.us/congress/bills/113/sres97","opencongress":"http://www.opencongress.org/bill/113-sr97/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hconres31-113","bill_type":"hconres","chamber":"house","committee_ids":["HSIF"],"congress":113,"cosponsors_count":1,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":31,"official_title":"Supporting Rare Pituitary Disease Awareness.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"R000594","urls":{"congress":"http://beta.congress.gov/bill/113th/house-concurrent-resolution/31","govtrack":"http://www.govtrack.us/congress/bills/113/hconres31","opencongress":"http://www.opencongress.org/bill/113-hc31/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hres161-113","bill_type":"hres","chamber":"house","committee_ids":["HSIF"],"congress":113,"cosponsors_count":7,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version":{"version_code":"ih","issued_on":"2013-04-15","version_name":"Introduced in House","bill_version_id":"hres161-113-ih","urls":{"html":"http://www.gpo.gov/fdsys/pkg/BILLS-113hres161ih/html/BILLS-113hres161ih.htm","pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-113hres161ih/pdf/BILLS-113hres161ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-113hres161ih/xml/BILLS-113hres161ih.xml"}},"last_version_on":"2013-04-15","last_vote_at":null,"number":161,"official_title":"Expressing the sense of the House of Representatives that the Food and Drug Administration should encourage the use of abuse-deterrent formulations of drugs.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"R000395","urls":{"congress":"http://beta.congress.gov/bill/113th/house-resolution/161","govtrack":"http://www.govtrack.us/congress/bills/113/hres161","opencongress":"http://www.opencongress.org/bill/113-hr161/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hres160-113","bill_type":"hres","chamber":"house","committee_ids":["HSRU"],"congress":113,"cosponsors_count":17,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version":{"version_code":"ih","issued_on":"2013-04-15","version_name":"Introduced in House","bill_version_id":"hres160-113-ih","urls":{"html":"http://www.gpo.gov/fdsys/pkg/BILLS-113hres160ih/html/BILLS-113hres160ih.htm","pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-113hres160ih/pdf/BILLS-113hres160ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-113hres160ih/xml/BILLS-113hres160ih.xml"}},"last_version_on":"2013-04-15","last_vote_at":null,"number":160,"official_title":"Amending the Rules of the House of Representatives to require authorizing committees to hold annual hearings on GAO investigative reports on the identification, consolidation, and elimination of duplicative Government programs.","popular_title":null,"related_bill_ids":[],"short_title":"Congressional Oversight to Start Taxpayer Savings Resolution","sponsor_id":"G000562","urls":{"congress":"http://beta.congress.gov/bill/113th/house-resolution/160","govtrack":"http://www.govtrack.us/congress/bills/113/hres160","opencongress":"http://www.opencongress.org/bill/113-hr160/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hr1575-113","bill_type":"hr","chamber":"house","committee_ids":["HSIF"],"congress":113,"cosponsors_count":3,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":1575,"official_title":"To amend the Communications Act of 1934 to require a provider of a commercial mobile service or an IP-enabled voice service to provide call location information concerning the user of such a service to law enforcement agencies in order to respond to a call for emergency services or in an emergency situation that involves risk of death or serious physical harm.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"Y000063","urls":{"congress":"http://beta.congress.gov/bill/113th/house-bill/1575","govtrack":"http://www.govtrack.us/congress/bills/113/hr1575","opencongress":"http://www.opencongress.org/bill/113-h1575/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hr1574-113","bill_type":"hr","chamber":"house","committee_ids":["HSII"],"congress":113,"cosponsors_count":0,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":1574,"official_title":"To amend the Dayton Aviation Heritage Preservation Act of 1992 to rename a site of the park.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"T000463","urls":{"congress":"http://beta.congress.gov/bill/113th/house-bill/1574","govtrack":"http://www.govtrack.us/congress/bills/113/hr1574","opencongress":"http://www.opencongress.org/bill/113-h1574/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hr1573-113","bill_type":"hr","chamber":"house","committee_ids":["HSFA"],"congress":113,"cosponsors_count":4,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":1573,"official_title":"To amend the Peace Corps Act to allow former volunteers to use the seal, emblem, or name of Peace Corps on death announcements and grave stones.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"S001165","urls":{"congress":"http://beta.congress.gov/bill/113th/house-bill/1573","govtrack":"http://www.govtrack.us/congress/bills/113/hr1573","opencongress":"http://www.opencongress.org/bill/113-h1573/show"},"withdrawn_cosponsors_count":0},{"bill_id":"hr1572-113","bill_type":"hr","chamber":"house","committee_ids":["HSIF"],"congress":113,"cosponsors_count":0,"enacted_as":null,"history":{"active":false,"awaiting_signature":false,"enacted":false,"vetoed":false},"introduced_on":"2013-04-15","last_action_at":"2013-04-15","last_version_on":"2013-04-15","last_vote_at":null,"number":1572,"official_title":"To prohibit the use of Federal money for print, radio, television or any other media advertisement, campaign, or form of publicity against the use of a food or beverage that is lawfully marketed under the Federal Food, Drug, and Cosmetic Act.","popular_title":null,"related_bill_ids":[],"short_title":null,"sponsor_id":"S001179","urls":{"congress":"http://beta.congress.gov/bill/113th/house-bill/1572","govtrack":"http://www.govtrack.us/congress/bills/113/hr1572","opencongress":"http://www.opencongress.org/bill/113-h1572/show"},"withdrawn_cosponsors_count":0}],"count":28614,"page":{"count":20,"per_page":20,"page":1}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"last_version_on":"2012-05-25","congress":112,"sponsor_id":"G000377","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5857/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5857","congress":"http://beta.congress.gov/bill/112th/house-bill/5857"},"committee_ids":["HSAP"],"official_title":"Making appropriations for the Department of State, foreign operations, and related programs for the fiscal year ending September 30, 2013, and for other purposes.","number":5857,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Department of State, Foreign Operations, and Related Programs Appropriations Act, 2013","related_bill_ids":["s1601-112","s3241-112"],"last_version":{"version_name":"Reported in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5857rh/pdf/BILLS-112hr5857rh.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5857rh/xml/BILLS-112hr5857rh.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5857rh/html/BILLS-112hr5857rh.htm"},"bill_version_id":"hr5857-112-rh","issued_on":"2012-05-25","version_code":"rh"},"last_action_at":"2012-05-25T13:50:00Z","withdrawn_cosponsors_count":0,"bill_id":"hr5857-112","introduced_on":"2012-05-25","chamber":"house","search":{"score":1,"type":"bill"}},{"congress":112,"last_version_on":"2012-05-30","sponsor_id":"F000116","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5861/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5861","congress":"http://beta.congress.gov/bill/112th/house-bill/5861"},"committee_ids":["HSBA","HSBA04","HSVR","HSVR03"],"official_title":"To direct the Secretary of Veterans Affairs and the Secretary of Housing and Urban Development to establish a grant pilot program to provide housing to elderly homeless veterans.","number":5861,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5861ih/pdf/BILLS-112hr5861ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5861ih/xml/BILLS-112hr5861ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5861ih/html/BILLS-112hr5861ih.htm"},"bill_version_id":"hr5861-112-ih","issued_on":"2012-05-30","version_code":"ih"},"last_action_at":"2012-07-11","withdrawn_cosponsors_count":0,"bill_id":"hr5861-112","introduced_on":"2012-05-30","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-05-30","congress":112,"sponsor_id":"S000480","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5864/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5864","congress":"http://beta.congress.gov/bill/112th/house-bill/5864"},"committee_ids":["HSII","HSII22","HSJU","HSJU08","HSWM","HSWM04","HSBU"],"official_title":"To establish an improved regulatory process for injurious wildlife to prevent the introduction and establishment in the United States of nonnative wildlife and wild animal pathogens and parasites that are likely to cause harm.","number":5864,"bill_type":"hr","cosponsors_count":31,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Invasive Fish and Wildlife Prevention Act of 2012","related_bill_ids":["s3606-112"],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5864ih/pdf/BILLS-112hr5864ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5864ih/xml/BILLS-112hr5864ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5864ih/html/BILLS-112hr5864ih.htm"},"bill_version_id":"hr5864-112-ih","issued_on":"2012-05-30","version_code":"ih"},"last_action_at":"2012-08-01","withdrawn_cosponsors_count":0,"bill_id":"hr5864-112","introduced_on":"2012-05-30","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-05-29","congress":112,"sponsor_id":"H000528","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5858/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5858","congress":"http://beta.congress.gov/bill/112th/house-bill/5858"},"committee_ids":["HSWM"],"official_title":"To amend the Internal Revenue Code of 1986 to improve health savings accounts, and for other purposes.","number":5858,"bill_type":"hr","cosponsors_count":1,"history":{"vetoed":false,"active_at":"2012-05-31","active":true,"awaiting_signature":false,"enacted":false},"short_title":"Health Savings Accounts Improvements Act of 2012","related_bill_ids":[],"last_version":{"version_name":"Reported in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5858rh/pdf/BILLS-112hr5858rh.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5858rh/xml/BILLS-112hr5858rh.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5858rh/html/BILLS-112hr5858rh.htm"},"bill_version_id":"hr5858-112-rh","issued_on":"2012-05-29","version_code":"rh"},"last_action_at":"2012-06-05T17:35:00Z","withdrawn_cosponsors_count":0,"bill_id":"hr5858-112","introduced_on":"2012-05-29","chamber":"house","search":{"score":1,"type":"bill"}},{"congress":112,"last_version_on":"2012-06-06","sponsor_id":"L000575","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5900/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5900","congress":"http://beta.congress.gov/bill/112th/house-bill/5900"},"committee_ids":["HSSY","HSSY19"],"official_title":"To modify the training requirements for certain fire departments applying for Federal grants.","number":5900,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5900ih/pdf/BILLS-112hr5900ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5900ih/xml/BILLS-112hr5900ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5900ih/html/BILLS-112hr5900ih.htm"},"bill_version_id":"hr5900-112-ih","issued_on":"2012-06-06","version_code":"ih"},"last_action_at":"2012-06-18","withdrawn_cosponsors_count":0,"bill_id":"hr5900-112","introduced_on":"2012-06-06","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-05-31","congress":112,"sponsor_id":"R000594","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5880/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5880","congress":"http://beta.congress.gov/bill/112th/house-bill/5880"},"committee_ids":["HSVR","HSVR09"],"official_title":"To extend the authority of the Secretary of Veterans Affairs to enter into contracts with private physicians to conduct medical disability examinations.","number":5880,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active_at":"2012-06-06","active":true,"awaiting_signature":false,"enacted":false},"short_title":"Veterans Disability Examination Access Improvement Act","related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5880ih/pdf/BILLS-112hr5880ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5880ih/xml/BILLS-112hr5880ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5880ih/html/BILLS-112hr5880ih.htm"},"bill_version_id":"hr5880-112-ih","issued_on":"2012-05-31","version_code":"ih"},"last_action_at":"2012-06-27","withdrawn_cosponsors_count":0,"bill_id":"hr5880-112","introduced_on":"2012-05-31","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-20","congress":112,"sponsor_id":"K000220","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5973/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5973","congress":"http://beta.congress.gov/bill/112th/house-bill/5973"},"committee_ids":["HSAP"],"official_title":"Making appropriations for Agriculture, Rural Development, Food and Drug Administration, and Related Agencies programs for the fiscal year ending September 30, 2013, and for other purposes.","number":5973,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Agriculture, Rural Development, Food and Drug Administration, and Related Agencies Appropriations Act, 2013","related_bill_ids":["hres697-112","s2375-112"],"last_version":{"version_name":"Reported in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5973rh/pdf/BILLS-112hr5973rh.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5973rh/xml/BILLS-112hr5973rh.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5973rh/html/BILLS-112hr5973rh.htm"},"bill_version_id":"hr5973-112-rh","issued_on":"2012-06-20","version_code":"rh"},"last_action_at":"2012-06-20T14:44:00Z","withdrawn_cosponsors_count":0,"bill_id":"hr5973-112","introduced_on":"2012-06-20","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-20","congress":112,"sponsor_id":"L000263","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5974/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5974","congress":"http://beta.congress.gov/bill/112th/house-bill/5974"},"committee_ids":["HSWM"],"official_title":"To amend the Internal Revenue Code of 1986 to extend bonus depreciation, and for other purposes.","number":5974,"bill_type":"hr","cosponsors_count":17,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Invest in America Now Act of 2012","related_bill_ids":["hr1773-112","hr3630-112","hr4196-112","s12-112","s2237-112","s2240-112"],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5974ih/pdf/BILLS-112hr5974ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5974ih/xml/BILLS-112hr5974ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5974ih/html/BILLS-112hr5974ih.htm"},"bill_version_id":"hr5974-112-ih","issued_on":"2012-06-20","version_code":"ih"},"last_action_at":"2012-06-20","withdrawn_cosponsors_count":0,"bill_id":"hr5974-112","introduced_on":"2012-06-20","chamber":"house","search":{"score":1,"type":"bill"}},{"congress":112,"last_version_on":"2012-06-20","sponsor_id":"S001171","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5982/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5982","congress":"http://beta.congress.gov/bill/112th/house-bill/5982"},"committee_ids":["HSWM"],"official_title":"To amend the Internal Revenue Code of 1986 to provide that the value of certain historic property shall be determined using an income approach in determining the taxable estate of a decedent.","number":5982,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"related_bill_ids":["s2209-112"],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5982ih/pdf/BILLS-112hr5982ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5982ih/xml/BILLS-112hr5982ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5982ih/html/BILLS-112hr5982ih.htm"},"bill_version_id":"hr5982-112-ih","issued_on":"2012-06-20","version_code":"ih"},"last_action_at":"2012-06-20","withdrawn_cosponsors_count":0,"bill_id":"hr5982-112","introduced_on":"2012-06-20","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-21","congress":112,"sponsor_id":"M001163","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5989/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5989","congress":"http://beta.congress.gov/bill/112th/house-bill/5989"},"committee_ids":["HSIF","HSIF14"],"official_title":"To increase access to community behavioral health services for all Americans and to improve Medicaid reimbursement for community behavioral health services.","number":5989,"bill_type":"hr","cosponsors_count":7,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Excellence in Mental Health Act","related_bill_ids":["s2256-112","s2257-112"],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5989ih/pdf/BILLS-112hr5989ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5989ih/xml/BILLS-112hr5989ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5989ih/html/BILLS-112hr5989ih.htm"},"bill_version_id":"hr5989-112-ih","issued_on":"2012-06-21","version_code":"ih"},"last_action_at":"2012-06-22","withdrawn_cosponsors_count":0,"bill_id":"hr5989-112","introduced_on":"2012-06-21","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-20","congress":112,"sponsor_id":"B001278","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5975/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5975","congress":"http://beta.congress.gov/bill/112th/house-bill/5975"},"committee_ids":["HSED","HSED13"],"official_title":"To amend the Workforce Investment Act of 1998 to provide for the establishment of the Small Business Liaison Pilot Program.","number":5975,"bill_type":"hr","cosponsors_count":4,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"WISE Investment Act","related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5975ih/pdf/BILLS-112hr5975ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5975ih/xml/BILLS-112hr5975ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5975ih/html/BILLS-112hr5975ih.htm"},"bill_version_id":"hr5975-112-ih","issued_on":"2012-06-20","version_code":"ih"},"last_action_at":"2012-09-26","withdrawn_cosponsors_count":0,"bill_id":"hr5975-112","introduced_on":"2012-06-20","chamber":"house","search":{"score":1,"type":"bill"}},{"congress":112,"last_version_on":"2012-06-20","sponsor_id":"S001187","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5983/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5983","congress":"http://beta.congress.gov/bill/112th/house-bill/5983"},"committee_ids":["HSGO"],"official_title":"To designate the facility of the United States Postal Service located at 2539 Dartmoor Road in Grove City, Ohio, as the \"Master Sergeant Shawn T. Hannon and Veterans Memorial Post Office Building\".","number":5983,"bill_type":"hr","cosponsors_count":16,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5983ih/pdf/BILLS-112hr5983ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5983ih/xml/BILLS-112hr5983ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5983ih/html/BILLS-112hr5983ih.htm"},"bill_version_id":"hr5983-112-ih","issued_on":"2012-06-20","version_code":"ih"},"last_action_at":"2012-06-20","withdrawn_cosponsors_count":0,"bill_id":"hr5983-112","introduced_on":"2012-06-20","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-26","congress":112,"sponsor_id":"M000133","urls":{"opencongress":"http://www.opencongress.org/bill/112-h6024/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr6024","congress":"http://beta.congress.gov/bill/112th/house-bill/6024"},"committee_ids":["HSII","HSII13"],"official_title":"To authorize development of hydropower and efficiencies at existing Bureau of Reclamation facilities.","number":6024,"bill_type":"hr","cosponsors_count":1,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Hydro 2.0 Act","related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6024ih/pdf/BILLS-112hr6024ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6024ih/xml/BILLS-112hr6024ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6024ih/html/BILLS-112hr6024ih.htm"},"bill_version_id":"hr6024-112-ih","issued_on":"2012-06-26","version_code":"ih"},"last_action_at":"2012-06-29","withdrawn_cosponsors_count":0,"bill_id":"hr6024-112","introduced_on":"2012-06-26","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-20","congress":112,"sponsor_id":"C001075","urls":{"opencongress":"http://www.opencongress.org/bill/112-h5979/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr5979","congress":"http://beta.congress.gov/bill/112th/house-bill/5979"},"committee_ids":["HSIF"],"official_title":"To amend title XIX of the Social Security Act to reform payment to States under the Medicaid program.","number":5979,"bill_type":"hr","cosponsors_count":2,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Medicaid Accountability and Care Act of 2012","related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5979ih/pdf/BILLS-112hr5979ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5979ih/xml/BILLS-112hr5979ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr5979ih/html/BILLS-112hr5979ih.htm"},"bill_version_id":"hr5979-112-ih","issued_on":"2012-06-20","version_code":"ih"},"last_action_at":"2012-06-20","withdrawn_cosponsors_count":0,"bill_id":"hr5979-112","introduced_on":"2012-06-20","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-28","congress":112,"sponsor_id":"B000287","urls":{"opencongress":"http://www.opencongress.org/bill/112-h6050/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr6050","congress":"http://beta.congress.gov/bill/112th/house-bill/6050"},"committee_ids":["HSWM","HSBA","HSBA15"],"official_title":"To amend the Internal Revenue Code of 1986 to provide taxpayer protection and assistance, and for other purposes.","number":6050,"bill_type":"hr","cosponsors_count":10,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Taxpayer Bill of Rights Act of 2012","related_bill_ids":["s3355-112"],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6050ih/pdf/BILLS-112hr6050ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6050ih/xml/BILLS-112hr6050ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6050ih/html/BILLS-112hr6050ih.htm"},"bill_version_id":"hr6050-112-ih","issued_on":"2012-06-28","version_code":"ih"},"last_action_at":"2012-10-01","withdrawn_cosponsors_count":0,"bill_id":"hr6050-112","introduced_on":"2012-06-28","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-28","congress":112,"sponsor_id":"M001155","urls":{"opencongress":"http://www.opencongress.org/bill/112-h6054/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr6054","congress":"http://beta.congress.gov/bill/112th/house-bill/6054"},"committee_ids":["HSIF","HSIF14","HSWM","HSWM04","HSED","HSED02","HSJU","HSJU10","HSII","HSII24","HSHA"],"official_title":"To prohibit funding to implement any provision of the Patient Protection and Affordable Care Act or of the health-related provisions of the Health Care and Education Reconciliation Act of 2010.","number":6054,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"NObamacare Funds Act of 2012","related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6054ih/pdf/BILLS-112hr6054ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6054ih/xml/BILLS-112hr6054ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6054ih/html/BILLS-112hr6054ih.htm"},"bill_version_id":"hr6054-112-ih","issued_on":"2012-06-28","version_code":"ih"},"last_action_at":"2012-09-26","withdrawn_cosponsors_count":0,"bill_id":"hr6054-112","introduced_on":"2012-06-28","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-28","congress":112,"sponsor_id":"R000170","urls":{"opencongress":"http://www.opencongress.org/bill/112-h6055/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr6055","congress":"http://beta.congress.gov/bill/112th/house-bill/6055"},"committee_ids":["HSWM","HSJU","HSJU01"],"official_title":"To authorize the Commissioner of U.S. Customs and Border Protection to enter into reimbursable fee agreements for the provision of customs services, and for other purposes.","number":6055,"bill_type":"hr","cosponsors_count":4,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Facilitating Access of Services and Trade Act of 2012","related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6055ih/pdf/BILLS-112hr6055ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6055ih/xml/BILLS-112hr6055ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6055ih/html/BILLS-112hr6055ih.htm"},"bill_version_id":"hr6055-112-ih","issued_on":"2012-06-28","version_code":"ih"},"last_action_at":"2012-07-11","withdrawn_cosponsors_count":0,"bill_id":"hr6055-112","introduced_on":"2012-06-28","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-28","congress":112,"sponsor_id":"M000689","urls":{"opencongress":"http://www.opencongress.org/bill/112-h6057/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr6057","congress":"http://beta.congress.gov/bill/112th/house-bill/6057"},"committee_ids":["HSPW","HSPW12","HSWM","HSII","HSSY","HSIF","HSIF17"],"official_title":"To provide an extension of Federal-aid highway, highway safety, motor carrier safety, transit, and other programs funded out of the Highway Trust Fund pending enactment of a multiyear law reauthorizing such programs.","number":6057,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active_at":"2012-06-29","active":true,"awaiting_signature":false,"enacted":false},"short_title":"Temporary Surface Transportation Extension Act of 2012","related_bill_ids":["hr4239-112","hr4239-112","hr4276-112","hr4281-112","hr4348-112","hr6058-112","hr6058-112","hr6064-112","hr6064-112","hr6064-112"],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6057ih/pdf/BILLS-112hr6057ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6057ih/xml/BILLS-112hr6057ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6057ih/html/BILLS-112hr6057ih.htm"},"bill_version_id":"hr6057-112-ih","issued_on":"2012-06-28","version_code":"ih"},"last_action_at":"2012-06-29","withdrawn_cosponsors_count":0,"bill_id":"hr6057-112","introduced_on":"2012-06-28","chamber":"house","search":{"score":1,"type":"bill"}},{"last_version_on":"2012-06-28","congress":112,"sponsor_id":"B001228","urls":{"opencongress":"http://www.opencongress.org/bill/112-h6051/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr6051","congress":"http://beta.congress.gov/bill/112th/house-bill/6051"},"committee_ids":["HSIF","HSIF17"],"official_title":"To amend certain provisions of title 49, United States Code, relating to motor vehicle safety, and for other purposes.","number":6051,"bill_type":"hr","cosponsors_count":0,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"short_title":"Motor Vehicle Safety Act of 2012","related_bill_ids":["hr14-112","hr4348-112","s1449-112","s1813-112"],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6051ih/pdf/BILLS-112hr6051ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6051ih/xml/BILLS-112hr6051ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6051ih/html/BILLS-112hr6051ih.htm"},"bill_version_id":"hr6051-112-ih","issued_on":"2012-06-28","version_code":"ih"},"last_action_at":"2012-06-29","withdrawn_cosponsors_count":0,"bill_id":"hr6051-112","introduced_on":"2012-06-28","chamber":"house","search":{"score":1,"type":"bill"}},{"congress":112,"last_version_on":"2012-07-11","sponsor_id":"S001187","urls":{"opencongress":"http://www.opencongress.org/bill/112-h6105/show","govtrack":"http://www.govtrack.us/congress/bills/112/hr6105","congress":"http://beta.congress.gov/bill/112th/house-bill/6105"},"committee_ids":["HSBA","HSBA16"],"official_title":"To amend the Federal Home Loan Bank Act to allow non-Federally insured credit unions to become members of a Federal Home Loan Bank.","number":6105,"bill_type":"hr","cosponsors_count":1,"history":{"vetoed":false,"active":false,"awaiting_signature":false,"enacted":false},"related_bill_ids":[],"last_version":{"version_name":"Introduced in House","urls":{"pdf":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6105ih/pdf/BILLS-112hr6105ih.pdf","xml":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6105ih/xml/BILLS-112hr6105ih.xml","html":"http://www.gpo.gov/fdsys/pkg/BILLS-112hr6105ih/html/BILLS-112hr6105ih.htm"},"bill_version_id":"hr6105-112-ih","issued_on":"2012-07-11","version_code":"ih"},"last_action_at":"2012-10-01","withdrawn_cosponsors_count":0,"bill_id":"hr6105-112","introduced_on":"2012-07-11","chamber":"house","search":{"score":1,"type":"bill"}}],"count":28614,"page":{"count":20,"per_page":20,"page":1}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"chamber":"senate","committee_id":"SSGA16","name":"the Efficiency and Effectiveness of Federal Programs and the Federal Workforce","parent_committee_id":"SSGA","subcommittee":true},{"chamber":"senate","committee_id":"SSGA15","name":"Financial and Contracting Oversight","parent_committee_id":"SSGA","subcommittee":true},{"chamber":"senate","committee_id":"SSGA17","name":"Emergency Management, Intergovernmental Relations, and the District of Columbia","parent_committee_id":"SSGA","subcommittee":true},{"chamber":"senate","committee_id":"SSGA01","name":"Permanent Subcommittee on Investigations","parent_committee_id":"SSGA","subcommittee":true},{"chamber":"senate","committee_id":"SSFR13","name":"International Operations and Organizations, Human Rights, Democracy and Global Women's Issues","parent_committee_id":"SSFR","subcommittee":true},{"chamber":"senate","committee_id":"SSFR12","name":"International Development and Foreign Assistance, Economic Affairs, International Environmental Protection, and Peace Corps","parent_committee_id":"SSFR","subcommittee":true},{"chamber":"senate","committee_id":"SSFI11","name":"Taxation and IRS Oversight","parent_committee_id":"SSFI","subcommittee":true},{"chamber":"senate","committee_id":"SSFI14","name":"Fiscal Responsibility and Economic Growth","parent_committee_id":"SSFI","subcommittee":true},{"chamber":"senate","committee_id":"SSEV18","name":"Oversight","parent_committee_id":"SSEV","subcommittee":true},{"chamber":"senate","committee_id":"SSEV16","name":"Green Jobs and the New Economy","parent_committee_id":"SSEV","subcommittee":true},{"chamber":"senate","committee_id":"SSCM24","name":"Science and Space","parent_committee_id":"SSCM","subcommittee":true},{"chamber":"senate","committee_id":"SSCM27","name":"Competitiveness, Innovation, and Export Promotion","parent_committee_id":"SSCM","subcommittee":true},{"chamber":"senate","committee_id":"SSAF17","name":"Livestock, Dairy, Poultry, Marketing and Agriculture Security","parent_committee_id":"SSAF","subcommittee":true},{"chamber":"senate","committee_id":"SSAF16","name":"Nutrition, Specialty Crops, Food and Agricultural Research","parent_committee_id":"SSAF","subcommittee":true},{"chamber":"senate","committee_id":"SSAF15","name":"Jobs, Rural Economic Growth and Energy Innovation","parent_committee_id":"SSAF","subcommittee":true},{"chamber":"senate","committee_id":"SSAF14","name":"Conservation, Forestry and Natural Resources","parent_committee_id":"SSAF","subcommittee":true},{"chamber":"senate","committee_id":"SSAF13","name":"Commodities, Markets, Trade and Risk Management","parent_committee_id":"SSAF","subcommittee":true},{"chamber":"joint","committee_id":"JSTX","name":"Joint Committee on Taxation","subcommittee":false},{"chamber":"joint","committee_id":"JSPR","name":"Joint Committee on Printing","subcommittee":false},{"chamber":"joint","committee_id":"JSLC","name":"Joint Committee on the Library","subcommittee":false}],"count":120,"page":{"count":20,"per_page":20,"page":1}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"state":"CA","district":12}],"count":1}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-17T00:18:12Z","update":"At 8:15 PM, the Senate recessed subject to the call of the Chair.","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-17T00:18:11Z","update":"S. 749 (Restore States' sovereign rights to enforce state and local sales and use tax laws). The first reading of the bill was agreed to. Further consideration of the bill was objected to.","bill_ids":["s749-113"],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-17T00:18:10Z","update":"S. Res. 100 (Commending the Univ of Louisville men's basketball team for winning the NCAA championship). Agreed to by unanimous consent.","bill_ids":["sres100-113"],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-17T00:18:09Z","update":"S. Res. 99 (Sense of the Senate regarding public service during \"Public Service Week\"). Agreed to by unanimous consent.","bill_ids":["sres99-113"],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-17T00:04:09Z","update":"Manchin amend #715 (Background checks).","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-17T00:04:08Z","update":"Manchin amend #715 (Background checks).","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-17T00:04:07Z","update":"Manchin amend #715 (Background checks).","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-16T23:57:06Z","update":"Sen. Reid received unanimous consent that at 4:00 PM on Wednesday, April 17, 2013, the previously listed amendments will be voted on with a 60 yea vote threshold required for adoption. The votes will begin with the Manchin amend #715 and then follow the order listed above.","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-16T23:57:05Z","update":"Sen. Reid called up the following amendments:\n\n Grassley amend # (Substitute amendment). \n\n Leahy-Collins amend #713 (Trafficking). \n\n Cornyn amend #719 (Concealed carry). \n\n Feinstein amend #711 (Assault weapons and clip bans). \n\n Burr amend #720 (Veterans and guns). \n\n Lautenberg-Blumenthal amend #714 (High-capacity clip ban). \n\n Barasso amend #717 (Privacy). \n\n Harkin-Alexander amend # (Relative to mental health).","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-16T23:03:06Z","update":"At 7:00 PM, the Senate reconvened and resumed a Legislative Session.","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-16T22:05:10Z","update":"At 6:04 PM, the Senate recessed subject to the call of the Chair.","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"timestamp":"2013-04-16T22:01:04Z","chamber":"house","update":"The House convened, returning from a recess continuing the legislative day of April 16.","congress":113,"category":"H20100","year":2013,"legislative_day":"2013-04-16","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"timestamp":"2013-04-16T22:01:25Z","chamber":"house","update":"Mr. Woodall filed a report from the Committee on Rules on H. Res. 164.","congress":113,"category":"H25100","year":2013,"legislative_day":"2013-04-16","bill_ids":["hres164-113"],"roll_ids":[],"legislator_ids":["W000810"]},{"timestamp":"2013-04-16T22:02:43Z","chamber":"house","update":"Mr. Woodall moved that the House do now adjourn.","congress":113,"category":"H60000","year":2013,"legislative_day":"2013-04-16","bill_ids":[],"roll_ids":[],"legislator_ids":["W000810"]},{"timestamp":"2013-04-16T22:02:55Z","chamber":"house","update":"On motion to adjourn Agreed to by voice vote.","congress":113,"category":"H60100","year":2013,"legislative_day":"2013-04-16","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"timestamp":"2013-04-16T22:02:56Z","chamber":"house","update":"The House adjourned. The next meeting is scheduled for 10:00 a.m. on April 17, 2013.","congress":113,"category":"H61000","year":2013,"legislative_day":"2013-04-16","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"chamber":"senate","congress":113,"legislative_day":"2013-04-16","timestamp":"2013-04-16T20:37:06Z","update":"McConnell motion to proceed to and pass S. Res. 98 (Honoring the Late Margaret Thatcher) was agreed to.","bill_ids":["sres98-113"],"roll_ids":[],"legislator_ids":[]},{"timestamp":"2013-04-16T19:35:14Z","chamber":"house","update":"The Speaker announced that the House do now recess. The next meeting is subject to the call of the Chair.","congress":113,"category":"H61000","year":2013,"legislative_day":"2013-04-16","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"timestamp":"2013-04-16T18:36:18Z","chamber":"house","update":"SPECIAL ORDER SPEECHES - The House has concluded all anticipated legislative business and has proceeded to Special Order speeches.","congress":113,"category":"H8D000","year":2013,"legislative_day":"2013-04-16","bill_ids":[],"roll_ids":[],"legislator_ids":[]},{"bill_ids":["hres163-113"],"category":"H30000","chamber":"house","congress":113,"legislative_day":"2013-04-16","legislator_ids":[],"roll_ids":[],"timestamp":"2013-04-16T18:20:30Z","update":"Considered as privileged matter. H. Res. 163 — \"Electing a Member to certain standing committees of the House of Representatives.\"","year":2013}],"count":3066,"page":{"count":20,"per_page":20,"page":1}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"address_components":[{"long_name":"2169","short_name":"2169","types":["street_number"]},{"long_name":"Mission Street","short_name":"Mission St","types":["route"]},{"long_name":"Mission District","short_name":"Mission District","types":["neighborhood","political"]},{"long_name":"San Francisco","short_name":"SF","types":["locality","political"]},{"long_name":"San Francisco County","short_name":"San Francisco County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]},{"long_name":"94110","short_name":"94110","types":["postal_code"]}],"formatted_address":"2169 Mission Street, San Francisco, CA 94110, USA","geometry":{"bounds":{"northeast":{"lat":37.7626032,"lng":-122.4194605},"southwest":{"lat":37.7626021,"lng":-122.4194789}},"location":{"lat":37.775,"lng":-122.418},"location_type":"RANGE_INTERPOLATED","viewport":{"northeast":{"lat":37.7639516302915,"lng":-122.4181207197085},"southwest":{"lat":37.7612536697085,"lng":-122.4208186802915}}},"types":["street_address"]}],"status":"OK"}
|
data/spec/fixtures/hearings.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"committee_id":"SSFR","congress":113,"room":"SD-419","dc":true,"bill_ids":[],"chamber":"senate","occurs_at":"2013-04-24T14:00:00Z","description":"Hearings to examine international development priorities in the fiscal year 2014 budget."},{"committee_id":"SSCM","congress":113,"room":"SR-253","dc":true,"bill_ids":[],"chamber":"senate","subcommittee_id":"SSCM24","occurs_at":"2013-04-23T18:30:00Z","description":"Hearings to examine challenges and opportunities for human space exploration."},{"committee_id":"SSFI","congress":113,"room":"SD-215","dc":true,"bill_ids":[],"chamber":"senate","occurs_at":"2013-04-23T14:00:00Z","description":"Hearings to examine the Antwone Fisher story as a case study for child welfare."},{"bill_ids":[],"chamber":"house","committee_id":"HSAP","congress":113,"dc":true,"description":"American Indian and Alaskan Native Public and Outside Witness Hearing","hearing_type":"Hearing","occurs_at":"2013-04-25T13:30:00Z","room":"B-308 Rayburn","url":"http://appropriations.house.gov/Calendar/EventSingle.aspx?EventID=323432"},{"committee_id":"SSAP","congress":113,"room":"SD-192","dc":true,"bill_ids":[],"chamber":"senate","subcommittee_id":"SSAP20","occurs_at":"2013-04-23T14:00:00Z","description":"Hearings to examine proposed budget estimates for fiscal year 2014 for the United States Agency for International Development."},{"chamber":"house","committee_id":"HSED","congress":113,"occurs_at":"2013-04-30T13:00:00Z","room":"TBA","description":"\"Health Care Challenges Facing North Carolina's Workers and Job Creators\"","dc":true,"bill_ids":[],"url":"http://edworkforce.house.gov/Calendar/EventSingle.aspx?EventID=329268","hearing_type":"Hearing"},{"chamber":"house","committee_id":"HSED","congress":113,"occurs_at":"2013-04-24T14:00:00Z","room":"TBA","description":"\"Keeping College Within Reach: Enhancing Transparency for Students, Families and Taxpayers.\"","dc":true,"bill_ids":[],"url":"http://edworkforce.house.gov/Calendar/EventSingle.aspx?EventID=329074","hearing_type":"Hearing"},{"committee_id":"SSAP","congress":113,"description":"Hearings to examine proposed budget estimates for fiscal year 2014 for the Department of Homeland Security.","dc":true,"bill_ids":[],"chamber":"senate","subcommittee_id":"SSAP14","occurs_at":"2013-04-23T18:30:00Z","room":"SD-124"},{"committee_id":"SSBU","congress":113,"description":"Hearings to examine the President's proposed budget and revenue request for fiscal year 2014 for Veterans' program proposals.","dc":true,"bill_ids":[],"chamber":"senate","occurs_at":"2013-04-23T14:30:00Z","room":"SD-608"},{"bill_ids":["hr573-113","hr638-113","hr1300-113","hr1328-113"],"chamber":"house","committee_id":"HSII","congress":113,"dc":true,"description":"Legislative Hearing on H.R. 573, H.R. 638, H.R. 1300, and H.R. 1328","hearing_type":"Hearing","occurs_at":"2013-04-25T17:00:00Z","room":"1334 Longworth HOB, Washington, D.C. 20515","url":"http://naturalresources.house.gov/Calendar/EventSingle.aspx?EventID=329189"},{"chamber":"house","committee_id":"HSVR","congress":113,"occurs_at":"2013-04-25T14:00:00Z","room":"334 Cannon HOB","description":"Markup of Pending Legislation","dc":true,"bill_ids":[],"url":"http://veterans.house.gov/markup/markup-of-pending-legislation-4","hearing_type":"Markup"},{"committee_id":"SSHR","congress":113,"description":"Hearings to examine successful primary care programs.","dc":true,"bill_ids":[],"chamber":"senate","subcommittee_id":"SSHR12","occurs_at":"2013-04-23T14:00:00Z","room":"SD-430"},{"committee_id":"SSEG","congress":113,"description":"Business meeting to consider the nomination of Ernest J. Moniz, of Massachusetts, to be Secretary of Energy.","dc":true,"bill_ids":[],"chamber":"senate","occurs_at":"2013-04-18T13:45:00Z","room":"SD-366"},{"chamber":"house","committee_id":"HSAP","congress":113,"occurs_at":"2013-04-26T14:30:00Z","room":"2362-A Rayburn","description":"Budget Hearing - Food and Drug Administration","dc":true,"bill_ids":[],"url":"http://appropriations.house.gov/Calendar/EventSingle.aspx?EventID=329035","hearing_type":"Hearing"},{"bill_ids":[],"chamber":"house","committee_id":"HSAP","congress":113,"dc":true,"description":"CLOSED: Oversight Hearing - United States Africa Command","hearing_type":"Hearing","occurs_at":"2013-04-25T14:00:00Z","room":"H-140 Capitol","url":"http://appropriations.house.gov/Calendar/EventSingle.aspx?EventID=329030"},{"chamber":"house","committee_id":"HSAP","congress":113,"occurs_at":"2013-04-24T18:00:00Z","room":"2362-A Rayburn","description":"Budget Hearing - Department of Agriculture Natural Resources and Environment","dc":true,"bill_ids":[],"url":"http://appropriations.house.gov/Calendar/EventSingle.aspx?EventID=329026","hearing_type":"Hearing"},{"chamber":"house","committee_id":"HSAP","congress":113,"occurs_at":"2013-04-24T17:30:00Z","room":"2359 Rayburn","description":"Budget Hearing - United States Agency for International Development","dc":true,"bill_ids":[],"url":"http://appropriations.house.gov/Calendar/EventSingle.aspx?EventID=329023","hearing_type":"Hearing"},{"bill_ids":[],"chamber":"house","committee_id":"HSAP","congress":113,"dc":true,"description":"Budget Hearing - Department of Agriculture Rural Development","hearing_type":"Hearing","occurs_at":"2013-04-24T14:00:00Z","room":"2362-A Rayburn","url":"http://appropriations.house.gov/Calendar/EventSingle.aspx?EventID=329018"},{"committee_id":"SSGA","congress":113,"description":"An oversight hearing to examine business practices of durable medical equipment companies.","dc":true,"bill_ids":[],"chamber":"senate","occurs_at":"2013-04-24T14:00:00Z","room":"SD-342"},{"committee_id":"SSAS","congress":113,"description":"Hearings to examine proliferation prevention programs at the Department of Energy and at the Department of Defense in review of the Defense Authorization Request for fiscal year 2014 and the Future Years Defense Program; to be immediately followed by a closed session in SVC-217.","dc":true,"bill_ids":[],"chamber":"senate","subcommittee_id":"SSAS20","occurs_at":"2013-04-23T18:30:00Z","room":"SR-222"}],"count":1279,"page":{"count":20,"per_page":20,"page":1}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"bioguide_id":"K000385","in_office":true,"thomas_id":"","govtrack_id":"412595","crp_id":"","fec_ids":null,"first_name":"Robin","nickname":null,"last_name":"Kelly","middle_name":null,"name_suffix":null,"gender":"F","birthday":"1956-04-30","state":"IL","state_name":"Illinois","party":"D","title":"Rep","chamber":"house","phone":null,"fax":null,"website":null,"office":null,"contact_form":null,"votesmart_id":33384,"district":2},{"bioguide_id":"C001099","birthday":"1969-04-04","chamber":"senate","contact_form":"http://www.cowan.senate.gov/contact","crp_id":"","facebook_id":"SenatorWilliamMoCowan","fax":null,"fec_ids":null,"first_name":"William","gender":"M","govtrack_id":"412586","in_office":true,"last_name":"Cowan","lis_id":"S367","middle_name":null,"name_suffix":null,"nickname":"Mo","office":"218 Russell Senate Office Building","party":"D","phone":"202-224-2742","senate_class":2,"state":"MA","state_name":"Massachusetts","state_rank":"junior","thomas_id":"02189","title":"Sen","twitter_id":"SenMoCowan","website":"http://www.cowan.senate.gov"},{"bioguide_id":"P000607","birthday":"1964-08-14","chamber":"house","contact_form":null,"crp_id":"","district":2,"facebook_id":"repmarkpocan","fax":null,"fec_ids":null,"first_name":"Mark","gender":"M","govtrack_id":"412585","in_office":true,"last_name":"Pocan","middle_name":null,"name_suffix":null,"nickname":null,"office":"313 Cannon House Office Building","party":"D","phone":"202-225-2906","state":"WI","state_name":"Wisconsin","thomas_id":"02171","title":"Rep","twitter_id":"repmarkpocan","votesmart_id":26238,"website":"http://pocan.house.gov"},{"bioguide_id":"H001064","birthday":"1952-07-29","chamber":"house","contact_form":null,"crp_id":"N00031557","district":10,"facebook_id":"CongressmanDennyHeck","fax":null,"fec_ids":null,"first_name":"Denny","gender":"M","govtrack_id":"412584","in_office":true,"last_name":"Heck","middle_name":null,"name_suffix":null,"nickname":null,"office":"425 Cannon House Office Building","party":"D","phone":"202-225-9740","state":"WA","state_name":"Washington","thomas_id":"02170","title":"Rep","twitter_id":"RepDennyHeck","votesmart_id":126058,"website":"http://dennyheck.house.gov","youtube_id":"RepDennyHeck"},{"bioguide_id":"K000381","birthday":"1974-01-01","chamber":"house","contact_form":null,"crp_id":"","district":6,"facebook_id":"derek.kilmer","fax":null,"fec_ids":null,"first_name":"Derek","gender":"M","govtrack_id":"412583","in_office":true,"last_name":"Kilmer","middle_name":null,"name_suffix":null,"nickname":null,"office":"1429 Longworth House Office Building","party":"D","phone":"202-225-5916","state":"WA","state_name":"Washington","thomas_id":"02169","title":"Rep","twitter_id":"RepDerekKilmer","votesmart_id":51516,"website":"http://kilmer.house.gov"},{"bioguide_id":"K000384","birthday":"1958-02-26","chamber":"senate","contact_form":"http://www.kaine.senate.gov/contact.cfm","crp_id":"","district":null,"facebook_id":"SenatorKaine","fax":null,"fec_ids":null,"first_name":"Timothy","gender":"M","govtrack_id":"412582","in_office":true,"last_name":"Kaine","lis_id":"S362","middle_name":null,"name_suffix":null,"nickname":null,"office":"B40c Dirksen Senate Office Building","party":"D","phone":"202-224-4024","senate_class":1,"state":"VA","state_name":"Virginia","state_rank":"junior","thomas_id":"02176","title":"Sen","twitter_id":"SenKaineOffice","votesmart_id":"","website":"http://www.kaine.senate.gov","youtube_id":"SenatorTimKaine"},{"bioguide_id":"S001192","birthday":"1960-07-15","chamber":"house","contact_form":null,"crp_id":"","district":2,"facebook_id":"RepChrisStewart","fax":null,"fec_ids":null,"first_name":"Chris","gender":"M","govtrack_id":"412581","in_office":true,"last_name":"Stewart","middle_name":null,"name_suffix":null,"nickname":null,"office":"323 Cannon House Office Building","party":"R","phone":"202-225-9730","state":"UT","state_name":"Utah","thomas_id":"02168","title":"Rep","twitter_id":"repchrisstewart","votesmart_id":"","website":"http://stewart.house.gov","youtube_id":"repchrisstewart"},{"bioguide_id":"V000132","birthday":"1963-02-13","chamber":"house","contact_form":null,"crp_id":"","district":34,"facebook_id":"USCongressmanFilemonVela","fax":null,"fec_ids":null,"first_name":"Filemon","gender":"M","govtrack_id":"412580","in_office":true,"last_name":"Vela","middle_name":null,"name_suffix":null,"nickname":null,"office":"437 Cannon House Office Building","party":"D","phone":"202-225-9901","state":"TX","state_name":"Texas","thomas_id":"02167","title":"Rep","twitter_id":"RepFilemonVela","votesmart_id":"","website":"http://vela.house.gov"},{"bioguide_id":"V000131","birthday":"1971-01-03","chamber":"house","contact_form":null,"crp_id":"","district":33,"facebook_id":"CongressmanMarcVeasey","fax":null,"fec_ids":null,"first_name":"Marc","gender":"M","govtrack_id":"412579","in_office":true,"last_name":"Veasey","middle_name":"A.","name_suffix":null,"nickname":null,"office":"414 Cannon House Office Building","party":"D","phone":"202-225-9897","state":"TX","state_name":"Texas","thomas_id":"02166","title":"Rep","twitter_id":"RepVeasey","votesmart_id":"","website":"http://veasey.house.gov","youtube_id":"marcveasey"},{"bioguide_id":"W000816","birthday":"1949-09-13","chamber":"house","contact_form":null,"crp_id":"","district":25,"facebook_id":"RepRogerWilliams","fax":null,"fec_ids":null,"first_name":"Roger","gender":"M","govtrack_id":"412578","in_office":true,"last_name":"Williams","middle_name":null,"name_suffix":null,"nickname":null,"office":"1122 Longworth House Office Building","party":"R","phone":"202-225-9896","state":"TX","state_name":"Texas","thomas_id":"02165","title":"Rep","twitter_id":"RepRWilliams","votesmart_id":"","website":"http://williams.house.gov","youtube_id":"channel/UCBtfmMMQarjtLB9U_pWMOhw"},{"bioguide_id":"G000572","birthday":"1961-12-02","chamber":"house","contact_form":null,"crp_id":"","district":23,"facebook_id":"CongressmanPeteGallego","fax":null,"fec_ids":null,"first_name":"Pete","gender":"M","govtrack_id":"412577","in_office":true,"last_name":"Gallego","middle_name":"P.","name_suffix":null,"nickname":null,"office":"431 Cannon House Office Building","party":"D","phone":"202-225-4511","state":"TX","state_name":"Texas","thomas_id":"02164","title":"Rep","twitter_id":"RepPeteGallego","votesmart_id":5505,"website":"http://gallego.house.gov","youtube_id":"RepPeteGallego"},{"bioguide_id":"C001091","birthday":"1974-09-16","chamber":"house","contact_form":null,"crp_id":"","district":20,"facebook_id":"326420614138023","fax":null,"fec_ids":null,"first_name":"Joaquin","gender":"M","govtrack_id":"412576","in_office":true,"last_name":"Castro","middle_name":null,"name_suffix":null,"nickname":null,"office":"212 Cannon House Office Building","party":"D","phone":"202-225-3236","state":"TX","state_name":"Texas","thomas_id":"02163","title":"Rep","twitter_id":"JoaquinCastrotx","votesmart_id":"","website":"http://castro.house.gov"},{"bioguide_id":"O000170","birthday":"1972-09-26","chamber":"house","contact_form":null,"crp_id":"","district":16,"facebook_id":"betoorourketx16","fax":null,"fec_ids":null,"first_name":"Beto","gender":"M","govtrack_id":"412575","in_office":true,"last_name":"O'Rourke","middle_name":null,"name_suffix":null,"nickname":null,"office":"1721 Longworth House Office Building","party":"D","phone":"202-225-4831","state":"TX","state_name":"Texas","thomas_id":"02162","title":"Rep","twitter_id":"betoorourketx16","votesmart_id":78533,"website":"http://orourke.house.gov","youtube_id":"betoorourketx16"},{"bioguide_id":"W000814","birthday":"1953-07-02","chamber":"house","contact_form":null,"crp_id":"","district":14,"facebook_id":"TXRandy14","fax":null,"fec_ids":null,"first_name":"Randy","gender":"M","govtrack_id":"412574","in_office":true,"last_name":"Weber","middle_name":"K.","name_suffix":null,"nickname":null,"office":"510 Cannon House Office Building","party":"R","phone":"202-225-2831","state":"TX","state_name":"Texas","thomas_id":"02161","title":"Rep","twitter_id":"TXRandy14","votesmart_id":"","website":"http://weber.house.gov","youtube_id":"TXRandy14"},{"bioguide_id":"C001098","birthday":"1970-12-22","chamber":"senate","contact_form":"http://www.cruz.senate.gov/contact.cfm","crp_id":"","district":null,"facebook_id":"SenatorTedCruz","fax":null,"fec_ids":null,"first_name":"Ted","gender":"M","govtrack_id":"412573","in_office":true,"last_name":"Cruz","lis_id":"S355","middle_name":null,"name_suffix":null,"nickname":null,"office":"B40b Dirksen Senate Office Building","party":"R","phone":"202-224-5922","senate_class":1,"state":"TX","state_name":"Texas","state_rank":"junior","thomas_id":"02175","title":"Sen","twitter_id":"SenTedCruz","votesmart_id":"","website":"http://www.cruz.senate.gov","youtube_id":"sentedcruz"},{"bioguide_id":"R000597","birthday":"1957-08-04","chamber":"house","contact_form":null,"crp_id":"N00033832","district":7,"facebook_id":"reptomrice","fax":null,"fec_ids":null,"first_name":"Tom","gender":"M","govtrack_id":"412572","in_office":true,"last_name":"Rice","middle_name":null,"name_suffix":null,"nickname":null,"office":"325 Cannon House Office Building","party":"R","phone":"202-225-9895","state":"SC","state_name":"South Carolina","thomas_id":"02160","title":"Rep","twitter_id":"RepTomRice","votesmart_id":132382,"website":"http://rice.house.gov"},{"bioguide_id":"C001090","birthday":"1961-05-01","chamber":"house","contact_form":null,"crp_id":"","district":17,"facebook_id":"CongressmanMattCartwright","fax":null,"fec_ids":null,"first_name":"Matthew","gender":"M","govtrack_id":"412571","in_office":true,"last_name":"Cartwright","middle_name":"A.","name_suffix":null,"nickname":null,"office":"1419 Longworth House Office Building","party":"D","phone":"202-225-5546","state":"PA","state_name":"Pennsylvania","thomas_id":"02159","title":"Rep","twitter_id":"RepCartwright","votesmart_id":"","website":"http://cartwright.house.gov","youtube_id":"channel/UCnAOvexSGLBnYidaFzguhTQ"},{"bioguide_id":"R000598","birthday":"1962-04-25","chamber":"house","contact_form":null,"crp_id":"","district":12,"facebook_id":"keithrothfus","fax":null,"fec_ids":null,"first_name":"Keith","gender":"M","govtrack_id":"412570","in_office":true,"last_name":"Rothfus","middle_name":"J.","name_suffix":null,"nickname":null,"office":"503 Cannon House Office Building","party":"R","phone":"202-225-2065","state":"PA","state_name":"Pennsylvania","thomas_id":"02158","title":"Rep","twitter_id":"KeithRothfus","votesmart_id":119466,"website":"http://rothfus.house.gov","youtube_id":"reprothfus"},{"bioguide_id":"P000605","birthday":"1962-05-27","chamber":"house","contact_form":null,"crp_id":"","district":4,"facebook_id":"Rep.ScottPerry","fax":null,"fec_ids":null,"first_name":"Scott","gender":"M","govtrack_id":"412569","in_office":true,"last_name":"Perry","middle_name":null,"name_suffix":null,"nickname":null,"office":"126 Cannon House Office Building","party":"R","phone":"202-225-5836","state":"PA","state_name":"Pennsylvania","thomas_id":"02157","title":"Rep","twitter_id":"RepScottPerry","votesmart_id":59980,"website":"http://perry.house.gov","youtube_id":"RepScottPerry"},{"bioguide_id":"M001190","birthday":"1977-07-26","chamber":"house","contact_form":null,"crp_id":"","district":2,"facebook_id":"CongressmanMarkwayneMullin","fax":null,"fec_ids":null,"first_name":"Markwayne","gender":"M","govtrack_id":"412568","in_office":true,"last_name":"Mullin","middle_name":null,"name_suffix":null,"nickname":null,"office":"1113 Longworth House Office Building","party":"R","phone":"202-225-2701","state":"OK","state_name":"Oklahoma","thomas_id":"02156","title":"Rep","twitter_id":"RepMullin","votesmart_id":"","website":"http://mullin.house.gov"}],"count":539,"page":{"count":20,"per_page":20,"page":1}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"bioguide_id":"P000197","birthday":"1940-03-26","chamber":"house","contact_form":"http://www.house.gov/pelosi/contact/contact.html","crp_id":"N00007360","district":12,"facebook_id":"NancyPelosi","fax":"202-225-8259","fec_ids":["H8CA05035"],"first_name":"Nancy","gender":"F","govtrack_id":"400314","in_office":true,"last_name":"Pelosi","middle_name":null,"name_suffix":null,"nickname":null,"office":"235 Cannon House Office Building","party":"D","phone":"202-225-4965","state":"CA","state_name":"California","thomas_id":"00905","title":"Rep","twitter_id":"NancyPelosi","votesmart_id":26732,"website":"http://pelosi.house.gov","youtube_id":"nancypelosi"},{"bioguide_id":"B000711","birthday":"1940-11-11","chamber":"senate","contact_form":"http://www.boxer.senate.gov/en/contact/","crp_id":"N00006692","district":null,"facebook_id":"senatorboxer","fax":"202-224-0454","fec_ids":["S2CA00286"],"first_name":"Barbara","gender":"F","govtrack_id":"300011","in_office":true,"last_name":"Boxer","lis_id":"S223","middle_name":null,"name_suffix":null,"nickname":null,"office":"112 Hart Senate Office Building","party":"D","phone":"202-224-3553","senate_class":3,"state":"CA","state_name":"California","state_rank":"junior","thomas_id":"00116","title":"Sen","twitter_id":"senatorboxer","votesmart_id":53274,"website":"http://www.boxer.senate.gov","youtube_id":"SenatorBoxer"},{"bioguide_id":"F000062","birthday":"1933-06-22","chamber":"senate","contact_form":"http://www.feinstein.senate.gov/public/index.cfm/e-mail-me","crp_id":"N00007364","district":null,"facebook_id":"senatorfeinstein","fax":"202-228-3954","fec_ids":["S0CA00199"],"first_name":"Dianne","gender":"F","govtrack_id":"300043","in_office":true,"last_name":"Feinstein","lis_id":"S221","middle_name":null,"name_suffix":null,"nickname":null,"office":"331 Hart Senate Office Building","party":"D","phone":"202-224-3841","senate_class":1,"state":"CA","state_name":"California","state_rank":"senior","thomas_id":"01332","title":"Sen","twitter_id":"senfeinstein","votesmart_id":53273,"website":"http://www.feinstein.senate.gov","youtube_id":"SenatorFeinstein"}],"count":3,"page":{"count":3,"per_page":20,"page":1}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"bill_id":"s3457-113","source_type":"senate_daily","congress":113,"chamber":"senate","legislative_day":"2013-09-13","range":"day","url":"http://democrats.senate.gov/2012/09/13/senate-floor-schedule-for-thursday-september-13-2013/","context":"During Wednesday's session, cloture was filed on the Murray substitute amendment #2789 to S.3457, the Veterans Jobs Corps Act and on S.3457. As a result, the filing deadline for first degree amendments to the substitute amendment and to S.3457 is 1:00pm on Thursday. Under the rule, the cloture vote(s) will be on Friday, September 14th. However, we hope to reach an agreement to have the vote(s) on Thursday."},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr624-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr967-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr756-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr1163-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr1246-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr882-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr249-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"},{"source_type":"house_weekly","legislative_day":"2013-04-15","range":"week","bill_id":"hr1162-113","congress":113,"chamber":"house","url":"http://majorityleader.gov/floor/4-15-13.pdf"}],"count":9,"page":{"count":9,"per_page":20,"page":1}}
|
data/spec/fixtures/votes.json
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"results":[{"bill_id":"hr1163-113","chamber":"house","congress":113,"number":106,"question":"On Motion to Suspend the Rules and Pass -- H.R. 1163 -- Federal Information Security Amendments Act of 2013","required":"2/3","result":"Passed","roll_id":"h106-2013","roll_type":"On Motion to Suspend the Rules and Pass","source":"http://clerk.house.gov/evs/2013/roll106.xml","url":"http://clerk.house.gov/evs/2013/roll106.xml","vote_type":"passage","voted_at":"2013-04-16T18:05:00Z","year":2013},{"bill_id":"hr756-113","chamber":"house","congress":113,"number":107,"question":"On Motion to Suspend the Rules and Pass, as Amended -- H.R. 756 -- Cybersecurity Enhancement Act of 2013","required":"2/3","result":"Passed","roll_id":"h107-2013","roll_type":"On Motion to Suspend the Rules and Pass, as Amended","source":"http://clerk.house.gov/evs/2013/roll107.xml","url":"http://clerk.house.gov/evs/2013/roll107.xml","vote_type":"passage","voted_at":"2013-04-16T18:13:00Z","year":2013},{"bill_id":"hr967-113","chamber":"house","congress":113,"number":108,"question":"On Motion to Suspend the Rules and Pass, as Amended -- H.R. 967 -- Advancing America’s Networking and Information Technology Research and Development Act of 2013","required":"2/3","result":"Passed","roll_id":"h108-2013","roll_type":"On Motion to Suspend the Rules and Pass, as Amended","source":"http://clerk.house.gov/evs/2013/roll108.xml","url":"http://clerk.house.gov/evs/2013/roll108.xml","vote_type":"passage","voted_at":"2013-04-16T18:20:00Z","year":2013},{"bill_id":"hr1162-113","chamber":"house","congress":113,"number":103,"question":"On Motion to Suspend the Rules and Pass, as Amended -- H.R. 1162 -- To amend title 31, United States Code, to make improvements in the Government Accountability Office","required":"2/3","result":"Passed","roll_id":"h103-2013","roll_type":"On Motion to Suspend the Rules and Pass, as Amended","source":"http://clerk.house.gov/evs/2013/roll103.xml","url":"http://clerk.house.gov/evs/2013/roll103.xml","vote_type":"passage","voted_at":"2013-04-15T22:57:00Z","year":2013},{"bill_id":"hr882-113","chamber":"house","congress":113,"number":104,"question":"On Motion to Suspend the Rules and Pass, as Amended -- H.R. 882 -- To prohibit the awarding of a contract or grant in excess of the simplified acquisition threshold unless the prospective contractor or grantee certifies in writing to the agency awarding the contract or grant that the contractor or grantee has no seriously delinquent tax debts, and for other purposes","required":"2/3","result":"Passed","roll_id":"h104-2013","roll_type":"On Motion to Suspend the Rules and Pass, as Amended","source":"http://clerk.house.gov/evs/2013/roll104.xml","url":"http://clerk.house.gov/evs/2013/roll104.xml","vote_type":"passage","voted_at":"2013-04-15T23:08:00Z","year":2013},{"bill_id":"hr249-113","chamber":"house","congress":113,"number":105,"question":"On Motion to Suspend the Rules and Pass -- H.R. 249 -- To amend title 5, United States Code, to provide that persons having seriously delinquent tax debts shall be ineligible for Federal employment","required":"2/3","result":"Failed","roll_id":"h105-2013","roll_type":"On Motion to Suspend the Rules and Pass","source":"http://clerk.house.gov/evs/2013/roll105.xml","url":"http://clerk.house.gov/evs/2013/roll105.xml","vote_type":"passage","voted_at":"2013-04-15T23:16:00Z","year":2013},{"chamber":"senate","congress":113,"number":96,"question":"On the Nomination PN23","required":"1/2","result":"Nomination Confirmed","roll_id":"s96-2013","roll_type":"On the Nomination","source":"http://www.senate.gov/legislative/LIS/roll_call_votes/vote1131/vote_113_1_00096.xml","url":"http://www.senate.gov/legislative/LIS/roll_call_lists/roll_call_vote_cfm.cfm?congress=113&session=1&vote=00096","vote_type":"nomination","voted_at":"2013-04-15T22:25:00Z","year":2013},{"bill_id":"hr1120-113","chamber":"house","congress":113,"number":100,"question":"On Motion to Recommit with Instructions -- H.R. 1120 -- Preventing Greater Uncertainty in Labor-Management Relations Act","required":"1/2","result":"Failed","roll_id":"h100-2013","roll_type":"On Motion to Recommit with Instructions","source":"http://clerk.house.gov/evs/2013/roll100.xml","url":"http://clerk.house.gov/evs/2013/roll100.xml","vote_type":"recommit","voted_at":"2013-04-12T16:00:00Z","year":2013},{"bill_id":"hr1120-113","chamber":"house","congress":113,"number":101,"question":"On Passage -- H.R. 1120 -- Preventing Greater Uncertainty in Labor-Management Relations Act","required":"1/2","result":"Passed","roll_id":"h101-2013","roll_type":"On Passage","source":"http://clerk.house.gov/evs/2013/roll101.xml","url":"http://clerk.house.gov/evs/2013/roll101.xml","vote_type":"passage","voted_at":"2013-04-12T16:10:00Z","year":2013},{"chamber":"house","congress":113,"number":102,"question":"On Approving the Journal","required":"1/2","result":"Passed","roll_id":"h102-2013","roll_type":"On Approving the Journal","source":"http://clerk.house.gov/evs/2013/roll102.xml","url":"http://clerk.house.gov/evs/2013/roll102.xml","vote_type":"other","voted_at":"2013-04-12T16:17:00Z","year":2013},{"bill_id":"hres146-113","chamber":"house","congress":113,"number":97,"question":"On Ordering the Previous Question -- H. Res. 146 -- Providing for consideration of the bill (H.R. 1120) Preventing Greater Uncertainty in Labor-Management Relations Act","required":"1/2","result":"Passed","roll_id":"h97-2013","roll_type":"On Ordering the Previous Question","source":"http://clerk.house.gov/evs/2013/roll097.xml","url":"http://clerk.house.gov/evs/2013/roll097.xml","vote_type":"other","voted_at":"2013-04-11T17:51:00Z","year":2013},{"bill_id":"hres146-113","chamber":"house","congress":113,"number":98,"question":"On Agreeing to the Resolution -- H. Res. 146 -- Providing for consideration of the bill (H.R. 1120) Preventing Greater Uncertainty in Labor-Management Relations Act","required":"1/2","result":"Passed","roll_id":"h98-2013","roll_type":"On Agreeing to the Resolution","source":"http://clerk.house.gov/evs/2013/roll098.xml","url":"http://clerk.house.gov/evs/2013/roll098.xml","vote_type":"passage","voted_at":"2013-04-11T18:08:00Z","year":2013},{"chamber":"house","congress":113,"number":99,"question":"On Approving the Journal","required":"1/2","result":"Passed","roll_id":"h99-2013","roll_type":"On Approving the Journal","source":"http://clerk.house.gov/evs/2013/roll099.xml","url":"http://clerk.house.gov/evs/2013/roll099.xml","vote_type":"other","voted_at":"2013-04-11T18:16:00Z","year":2013},{"bill_id":"s649-113","chamber":"senate","congress":113,"number":95,"question":"On Cloture on the Motion to Proceed S. 649","required":"3/5","result":"Cloture on the Motion to Proceed Agreed to","roll_id":"s95-2013","roll_type":"On Cloture on the Motion to Proceed","source":"http://www.senate.gov/legislative/LIS/roll_call_votes/vote1131/vote_113_1_00095.xml","url":"http://www.senate.gov/legislative/LIS/roll_call_lists/roll_call_vote_cfm.cfm?congress=113&session=1&vote=00095","vote_type":"cloture","voted_at":"2013-04-11T15:03:00Z","year":2013},{"bill_id":"hr254-113","chamber":"house","congress":113,"number":90,"question":"On Motion to Suspend the Rules and Pass -- H.R. 254 -- To authorize the Secretary of the Interior to facilitate the development of hydroelectric power on the Diamond Fork System of the Central Utah Project","required":"2/3","result":"Passed","roll_id":"h90-2013","roll_type":"On Motion to Suspend the Rules and Pass","source":"http://clerk.house.gov/evs/2013/roll090.xml","url":"http://clerk.house.gov/evs/2013/roll090.xml","vote_type":"passage","voted_at":"2013-04-09T22:56:00Z","year":2013},{"bill_id":"hr1033-113","chamber":"house","congress":113,"number":91,"question":"On Motion to Suspend the Rules and Pass -- H.R. 1033 -- To authorize the acquisition and protection of nationally significant battlefields and associated sites of the Revolutionary War and the War of 1812 under the American Battlefield Protection Program","required":"2/3","result":"Passed","roll_id":"h91-2013","roll_type":"On Motion to Suspend the Rules and Pass","source":"http://clerk.house.gov/evs/2013/roll091.xml","url":"http://clerk.house.gov/evs/2013/roll091.xml","vote_type":"passage","voted_at":"2013-04-09T23:07:00Z","year":2013},{"chamber":"house","congress":113,"number":92,"question":"On Approving the Journal","required":"1/2","result":"Passed","roll_id":"h92-2013","roll_type":"On Approving the Journal","source":"http://clerk.house.gov/evs/2013/roll092.xml","url":"http://clerk.house.gov/evs/2013/roll092.xml","vote_type":"other","voted_at":"2013-04-09T23:16:00Z","year":2013},{"bill_id":"hres140-113","chamber":"house","congress":113,"number":93,"question":"On Ordering the Previous Question -- H. Res. 140 -- Providing for consideration of H.R. 678, Bureau of Reclamation Small Conduit Hydropower Development and Rural Jobs Act","required":"1/2","result":"Passed","roll_id":"h93-2013","roll_type":"On Ordering the Previous Question","source":"http://clerk.house.gov/evs/2013/roll093.xml","url":"http://clerk.house.gov/evs/2013/roll093.xml","vote_type":"other","voted_at":"2013-04-10T17:34:00Z","year":2013},{"bill_id":"hr678-113","chamber":"house","congress":113,"number":94,"question":"On Agreeing to the Amendment -- H.R. 678","required":"1/2","result":"Failed","roll_id":"h94-2013","roll_type":"On Agreeing to the Amendment","source":"http://clerk.house.gov/evs/2013/roll094.xml","url":"http://clerk.house.gov/evs/2013/roll094.xml","vote_type":"other","voted_at":"2013-04-10T19:14:00Z","year":2013},{"bill_id":"hr678-113","chamber":"house","congress":113,"number":95,"question":"On Motion to Recommit with Instructions -- H.R. 678 -- To authorize all Bureau of Reclamation conduit facilities for hydropower development under Federal Reclamation law, and for other purposes","required":"1/2","result":"Failed","roll_id":"h95-2013","roll_type":"On Motion to Recommit with Instructions","source":"http://clerk.house.gov/evs/2013/roll095.xml","url":"http://clerk.house.gov/evs/2013/roll095.xml","vote_type":"recommit","voted_at":"2013-04-10T19:36:00Z","year":2013}],"count":4647,"page":{"count":20,"per_page":20,"page":1}}
|
data/spec/helper.rb
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
require 'simplecov'
|
2
|
-
require 'coveralls'
|
3
|
-
|
4
|
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter]
|
5
|
-
|
6
|
-
SimpleCov.start do
|
7
|
-
add_filter '/spec/'
|
8
|
-
minimum_coverage(100)
|
9
|
-
end
|
10
|
-
|
11
|
-
require 'congress'
|
12
|
-
require 'rspec'
|
13
|
-
require 'webmock/rspec'
|
14
|
-
|
15
|
-
RSpec.configure do |config|
|
16
|
-
config.expect_with :rspec do |c|
|
17
|
-
c.syntax = :expect
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
WebMock.disable_net_connect!(:allow => 'coveralls.io')
|
22
|
-
|
23
|
-
def a_get(path)
|
24
|
-
a_request(:get, Congress::Client::ENDPOINT + path)
|
25
|
-
end
|
26
|
-
|
27
|
-
def stub_get(path)
|
28
|
-
stub_request(:get, Congress::Client::ENDPOINT + path)
|
29
|
-
end
|
30
|
-
|
31
|
-
def fixture_path
|
32
|
-
File.expand_path('../fixtures', __FILE__)
|
33
|
-
end
|
34
|
-
|
35
|
-
def fixture(file)
|
36
|
-
File.new(fixture_path + '/' + file)
|
37
|
-
end
|