Metadata-Version: 1.0
Name: usa-spending
Version: 1.0
Summary: Python API for the numerous APIs available through USA Spending.
Home-page: https://github.com/codeforamerica/usa_spending_python
Author: Zach Williams
Author-email: zach@codeforamerica.org
License: BSD
Description: 
        USA Spending Python API
        =======================
        
        Python API for the numerous APIs available through [USA
        Spending](http://usaspending.gov/data?carryfilters=on).
        
        
        Usage
        -----
        
            >>> from usa_spending import Contracts
            >>> c = Contracts()
            >>> c.search(state='TX', count=500)
        
            >>> # Search for contracts for a specific year.
            ... c.search(zipcode=12345, year=2010)
        
            >>> # Search for contracts within a date range.
            ... c.search(state='CA', first_year=2008, last_year=2010)
        
            >>> # Search for contracts not competed on.
            ... c.search(state='NY', competition='not competed')
        
            >>> # Search for contracts not available for competition.
            ... c.search(state='NY', competition='N/A')
        
            >>> # Find the number of contracts matching your criteria.
            ... data = c.search(zipcode=12345)
            >>> found = data.response.result.numFound
            >>> print found
            6789
        
        
        Copyright
        ---------
        
        Copyright (c) 2011 Code for America Laboratories.
        
        See LICENSE for details.
        
Keywords: usa_spending,USA Spending,usa api
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Topic :: Internet
Classifier: Topic :: Internet :: WWW/HTTP
