Metadata-Version: 1.0
Name: python-nytcongress
Version: 0.1.0
Summary: A Python client for the New York Times Congress API
Home-page: UNKNOWN
Author: Chris Amico
Author-email: eyeseast@gmail.com
License: UNKNOWN
Description: Python NytCongress
        ==================
        
        A Python client for the New York Times [Congress API](http://developer.nytimes.com/docs/congress_api)
        
        Install
        -------
        
            $ pip install python-nytcongress
        
        Or download and run
        
            $ python setup.py install
        
        Usage
        -----
        
            >>> from nytcongress import NytCongress
            >>> congress = NytCongress(API_KEY)
            
            # get member by bioguide ID
            >>> pelosi = congress.members.get('P000197')
            >>> pelosi['twitter_id']
            'NancyPelosi'
            
            # get recent House bills
            # recent bills come in two types: 'introduced' and 'updated'
            >>> introd = congress.bills.recent(chamber='house', congress=111, type='introduced')
            >>> len(introd['bills'])
            20
            >>> introd['chamber']
            'House'
            
            # or use a convenience function
            >>> introd = congress.bills.introduced('house')
            >>> introd['chamber']
            'House'
            >>> len(introd['bills'])
            20
            
            
Platform: any
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
