def get_bills(congress, house, limit=None):
    path = '/api/v2/bill'
    if house in ['lower', 'representatives']:
        bill_type = 'house_bill'
    elif house in ['upper', 'senate']:
        bill_type = 'senate_bill'
    else:
        raise ValueError('invalid value for house, expected lower (representatives) or upper (senate): %s' % house)
    return query_api(path, congress=congress, bill_type=bill_type, limit=limit)
Returns an iterator over the bills introduced in the given congress.
dataset/ETHPy150Open croach/pydata2013/govtrack.py/get_bills