Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Commit

Permalink
Started in on refactor of the basic namespace to be more similar to e…
Browse files Browse the repository at this point in the history
…lex for #98
  • Loading branch information
palewire committed Jan 27, 2016
1 parent cc99ca4 commit 6b5ca13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions elections/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__all__ = ['AP']
from ap import AP
__all__ = ['api']
from ap import api
4 changes: 2 additions & 2 deletions elections/ap.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
)


class AP(object):
class api(object):
"""
The public client you can use to connect to AP's data feed.
Expand Down Expand Up @@ -74,7 +74,7 @@ def ftp(self):
self._ftp_hits += 1
return self._ftp

def get_election(self, election_date, **kwargs):
def Election(self, election_date, **kwargs):
"""
Takes a date in any common format (YYYY-MM-DD is preferred)
and returns a list of APResult objects for states holding
Expand Down

0 comments on commit 6b5ca13

Please sign in to comment.