Skip to content

Commit 5778b07

Browse files
committed
Final integration work.
1 parent 9836f10 commit 5778b07

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2012-12-12 Paul Tagliamonte <[email protected]>
2+
3+
* sunlight/services/*py:
4+
- Rename classes to not be gross.
5+
* Bump release to 1.1.7
6+
7+
2012-12-12 Jeremy Carbaugh <[email protected]>
8+
9+
* sunlight/cli.py:
10+
- Add a clint CLI wrapper for python-sunlight
11+
* sunlight/__init__.py:
12+
- Add a method to get services provided.
13+
114
2012-11-15 Paul Tagliamonte <[email protected]>
215

316
* sunlight/services/congress.py:

sunlight/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
"""
1212

1313
__appname__ = "sunlight"
14-
__version__ = "1.1.6"
14+
__version__ = "1.1.7"
1515

1616
import sunlight.services.openstates
1717
import sunlight.services.capitolwords
1818
import sunlight.services.congress
1919
import sunlight.services.influenceexplorer
2020

21-
openstates = sunlight.services.openstates.openstates()
22-
capitolwords = sunlight.services.capitolwords.capitolwords()
23-
congress = sunlight.services.congress.congress()
21+
openstates = sunlight.services.openstates.Openstates()
22+
capitolwords = sunlight.services.capitolwords.CapitolWords()
23+
congress = sunlight.services.congress.Congress()
2424
influenceexplorer = sunlight.services.influenceexplorer.InfluenceExplorer()
2525

2626
import os.path

sunlight/services/capitolwords.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
service_url = "http://capitolwords.org/api"
1111

1212

13-
class capitolwords(sunlight.service.Service):
13+
class CapitolWords(sunlight.service.Service):
1414
"""
1515
Bindings into the `CapitolWords project <http://capitolwords.org>`_.
1616
Keep in mind, as you use this wrapper, that this is a very thin translation

sunlight/services/congress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def _unpack(resp, key):
1818
return [e[key] for e in resp[key + 's']]
1919

2020

21-
class congress(sunlight.service.Service):
21+
class Congress(sunlight.service.Service):
2222
"""
2323
Bindings into the `Sunlight Congress API
2424
<http://services.sunlightlabs.com/docs/Sunlight_Congress_API/>`_, an API

sunlight/services/openstates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
service_url = "http://openstates.org/api/v1"
1010

1111

12-
class openstates(sunlight.service.Service):
12+
class Openstates(sunlight.service.Service):
1313
"""
1414
Bindings into the `Open States API <http://openstates.org/api/>`_. Keep in
1515
mind this is a thin wrapper around the API so the API documentation is the

0 commit comments

Comments
 (0)