constants.py 356 Bytes
Newer Older
1 2 3
from weboob.capabilities.housing import POSTS_TYPES, HOUSE_TYPES

TYPES = {POSTS_TYPES.RENT: 1,
4
         POSTS_TYPES.SALE: 2,
Phyks (Lucas Verney)'s avatar
Phyks (Lucas Verney) committed
5 6
         POSTS_TYPES.FURNISHED_RENT: 1,
         POSTS_TYPES.VIAGER: 5}
7 8 9 10 11 12

RET = {HOUSE_TYPES.HOUSE: '2',
       HOUSE_TYPES.APART: '1',
       HOUSE_TYPES.LAND: '4',
       HOUSE_TYPES.PARKING: '3',
       HOUSE_TYPES.OTHER: '10'}