nwmls_client 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7e79df9866a890f977b92d396c8227f74a1afbb
4
- data.tar.gz: 655f70e0be478dbdf023e593c85af22fc61bfc74
3
+ metadata.gz: f6596557df0cbf0f19f1e0274bf3740e91bf6c89
4
+ data.tar.gz: 0361bdc6876ce7e39b005c1d306084715c990e4e
5
5
  SHA512:
6
- metadata.gz: 6cd172a5c7fb020c8e701bb78ce357f365ae78b03be057740518f5689c8a054f2a1e251a51061d6501917901b209cd4bd1dc0a178c02b71a1f92c29ccafe1077
7
- data.tar.gz: f0390477aa944700fe5034792fe478169f088ecd3cd8df640c03fbdce4672c9bd0248fe04af1ca0fcb96c592e5cc18798e1fde9787ce4e28a984bdc81de7f77d
6
+ metadata.gz: b17dde87b394f31d3f9fc8788c427dbb16cbf3cd3cc0cff39351702037c3a32b8e9cc0203a75393bab06cbd1455f106fac333f4578eb7b9c600be131ce6c2e21
7
+ data.tar.gz: f33cde00ffca959ddea913e3462ffd472144f4277ce49a9edf93da7b341dc92a9df6376ffc1cf4abc9c76ccf0967c701d99493d946a34c19fff6c6a5ce8c25f4
@@ -1,470 +1,475 @@
1
- class Codes
2
- ALL_CODES = {
3
- "ACC" => "Acreage Comments",
4
- "ADU" => "Approved Accessory Dwelling",
5
- "AFFILIATIONS" => "Affiliations",
6
- "AFH" => "FHA VA Approved",
7
- "AFR" => "Additional Finished Rooms ",
8
- "AGR" => "Age Restrictions",
9
- "ALLOW_AVM" => "Allow Automated Valuation",
10
- "AMN" => "Amenities",
11
- "AMP" => "Power Service in AMPS",
12
- "ANC" => "Foundation",
13
- "APH" => "Appliance Hookups",
14
- "APP" => "Appliances Provided",
15
- "APS" => "Appliances That Stay",
16
- "AR" => "Area",
17
- "ARC" => "Architecture",
18
- "ASC" => "Association Contact",
19
- "ASF" => "Approximate Square Footage",
20
- "ATF" => "Assessment Fees",
21
- "AUCTION" => "Auction",
22
- "AVDT" => "Available Date",
23
- "AVP" => "Number of Available Pads",
24
- "AllowAVM" => "Allow AVM",
25
- "BA1" => "Bathrooms Unit 1",
26
- "BA2" => "Bathrooms Unit 2",
27
- "BA3" => "Bathrooms Unit 3",
28
- "BA4" => "Bathrooms Unit 4",
29
- "BA5" => "Bathrooms Unit 5",
30
- "BA6" => "Bathrooms Unit 6",
31
- "BCC" => "Barn Outbuilding Comments",
32
- "BDC" => "Building Condition",
33
- "BDI" => "Building Information",
34
- "BDL" => "Bedrooms Lower",
35
- "BDM" => "Bedrooms main",
36
- "BDU" => "Bedrooms Upper",
37
- "BFE" => "Barn Features",
38
- "BLD" => "Builder",
39
- "BLK" => "Block",
40
- "BON" => "Boundary Survey",
41
- "BR" => "Bedrooms",
42
- "BR1" => "Bedrooms Unit 1",
43
- "BR2" => "Bedrooms Unit 2",
44
- "BR3" => "Bedrooms Unit 3",
45
- "BR4" => "Bedrooms Unit 4",
46
- "BR5" => "Bedrooms Unit 5",
47
- "BR6" => "Bedrooms Unit 6",
48
- "BREO" => "Bank Owned",
49
- "BRI" => "Boarding Income",
50
- "BRM" => "Bonus Room Location",
51
- "BSM" => "Basement",
52
- "BSZ" => "Barn Size",
53
- "BTH" => "Bathrooms",
54
- "BTP" => "Barn Type",
55
- "BUS" => "Bus Line Nearby",
56
- "BUSR" => "Bus Route Number",
57
- "BUILT_GREEN_RATING" => "Built Green Certification Rating",
58
- "CAP" => "Cap Rate",
59
- "CCC" => "Crop Soil Comments",
60
- "CDOM" => "Cumulative Days on Market",
61
- "CFE" => "Features",
62
- "CHT" => "Ceiling Height",
63
- "CIT" => "City",
64
- "CLA" => "CoListing Agent Number",
65
- "CLO" => "Selling Date",
66
- "CMFE" => "Community Features",
67
- "CMN" => "Common Features",
68
- "CODE" => "Code",
69
- "COLO" => "Co Office Number",
70
- "COO" => "Coop",
71
- "COU" => "County",
72
- "CRI" => "Crop Income",
73
- "CSP" => "Column Spacing",
74
- "CTD" => "Cats and Dogs",
75
- "CTDT" => "Contingent Date",
76
- "CONSTRUCTION_METHODS" => "Construction Methods",
77
- "DD" => "Directions",
78
- "DESCRIPTION" => "Description",
79
- "DLT" => "Depth of Lot",
80
- "DNO" => "Den or Office Location",
81
- "DOC" => "Documents Provided",
82
- "DOM" => "Days on Market",
83
- "DRM" => "Dining Room Location",
84
- "DRP" => "Directional Prefix",
85
- "DRS" => "Directional Suffix",
86
- "DSR" => "Community Name",
87
- "DSRNUM" => "Community Number",
88
- "DW1" => "Dishwasher Unit 1",
89
- "DW2" => "Dishwasher Unit 2",
90
- "DW3" => "Dishwasher Unit 3",
91
- "DW4" => "Dishwasher Unit 4",
92
- "DW5" => "Dishwasher Unit 5",
93
- "DW6" => "Dishwasher Unit 6",
94
- "ECRT" => "Environmental Cert",
95
- "EFFECTIVE_YEAR_BUILT" => "Effective Year Built",
96
- "EFFECTIVE_YEAR_BUILT_SOURCE" => "Effective Year Built Source",
97
- "EFR" => "Extra Finished Room Location",
98
- "EL" => "Elementary School",
99
- "ELE" => "Electricity",
100
- "ELEV" => "Elevation",
101
- "ELEX" => "Electrical Expenses",
102
- "EMP" => "Number of Employees",
103
- "ENS" => "Energy Source",
104
- "ENT" => "Entry Location",
105
- "ENV" => "Environmental Survey",
106
- "EPS_ENERGY" => "EPS Energy",
107
- "EQI" => "Equity",
108
- "EQP" => "Equipment Included",
109
- "EQU" => "Equipment",
110
- "EQV" => "Equipment Value",
111
- "ESM" => "Easements",
112
- "EXA" => "Expansion Area",
113
- "EXP" => "Expenses",
114
- "EXT" => "Exterior",
115
- "F17" => "Form 17",
116
- "FAC" => "Free and Clear",
117
- "FAM" => "Family Room Location",
118
- "FBG" => "Full Baths Garage",
119
- "FBL" => "Full Baths Lower",
120
- "FBM" => "Full Baths Main",
121
- "FBT" => "Full Bathrooms",
122
- "FBU" => "Full Baths Upper",
123
- "FEA" => "Interior Features",
124
- "FEN" => "Fence",
125
- "FG1" => "Refrigerator Unit 1",
126
- "FG2" => "Refrigerator Unit 2",
127
- "FG3" => "Refrigerator Unit 3",
128
- "FG4" => "Refrigerator Unit 4",
129
- "FG5" => "Refrigerator Unit 5",
130
- "FG6" => "Refrigerator Unit 6",
131
- "FIN" => "Financing",
132
- "FLS" => "Floor Covering",
133
- "FND" => "Foundation",
134
- "FP" => "Fireplaces Total",
135
- "FP1" => "Fireplaces Unit 1",
136
- "FP2" => "Fireplaces Unit 2",
137
- "FP3" => "Fireplaces Unit 3",
138
- "FP4" => "Fireplaces Unit 4",
139
- "FP5" => "Fireplaces Unit 5",
140
- "FP6" => "Fireplaces Unit 6",
141
- "FPL" => "Fireplaces Lower",
142
- "FPM" => "Fireplaces Main",
143
- "FPU" => "Fireplaces Upper",
144
- "FRN" => "Franchise",
145
- "FTP" => "Farm Type",
146
- "FTR" => "Property Features",
147
- "FUR" => "Furnished",
148
- "GAI" => "Gross Adjusted Income",
149
- "GAR" => "Total Covered Parking",
150
- "GAS" => "Gas",
151
- "GR" => "Parking Type",
152
- "GRDX" => "X Coordinate",
153
- "GRDY" => "Y Coordinate",
154
- "GRM" => "Gross Rent Multiplier",
155
- "GRS" => "Annual Gross Sales",
156
- "GSI" => "Gross Scheduled Income",
157
- "GSP" => "Number of Garage Spaces",
158
- "GW" => "Goodwill Value",
159
- "GZC" => "General Zoning Classification",
160
- "HBG" => "Half Baths Garage",
161
- "HBL" => "Half Baths Lower",
162
- "HBM" => "Half Baths Main",
163
- "HBT" => "Half Bathrooms",
164
- "HBU" => "Half Baths Upper",
165
- "HERS_INDEX" => "HERS Index",
166
- "HET" => "Heating Expenses",
167
- "HOD" => "Annual Association Dues",
168
- "HOI" => "Home Owner Dues Include",
169
- "HRS" => "Hours of Operation",
170
- "HSN" => "House Number",
171
- "HSNA" => "Street Number Modifier",
172
- "HTC" => "Heating and Cooling",
173
- "IMP" => "Improvements",
174
- "INDT" => "Inactive Date",
175
- "INS" => "Insurance Expenses",
176
- "INV" => "Inventory Value",
177
- "IRRC" => "Irrigation Comments",
178
- "IRS" => "Irrigation Source",
179
- "ITP" => "Irrigation Type",
180
- "JH" => "Junior High",
181
- "KES" => "Kitchen with Eating Space Location",
182
- "KIT" => "Kitchen Location",
183
- "LAG" => "Listing Agent Number",
184
- "LAT" => "Latitude",
185
- "LCC" => "Livestock Comments",
186
- "LD" => "List Date",
187
- "LDE" => "Lot Details",
188
- "LDG" => "Loading",
189
- "LDR" => "List Date Received",
190
- "LEED_RATING" => "LEED Certification Rating",
191
- "LEQ" => "Leased Equipment",
192
- "LES" => "Lease Terms",
193
- "LIC" => "Licenses",
194
- "LIT" => "Leased Items",
195
- "LN" => "Listing Number",
196
- "LNI" => "Labor and Industries Inspected",
197
- "LNM" => "Liens Mortgages",
198
- "LO" => "Listing Office Number",
199
- "LOC" => "Location",
200
- "LONG" => "Longitude",
201
- "LP" => "Listing Price",
202
- "LPH" => "Listing Price History",
203
- "LRM" => "Living Room Location",
204
- "LSD" => "Leased Equipment",
205
- "LSF" => "Lot Square Footage",
206
- "LSI" => "Lease Income",
207
- "LSZ" => "Lot Dimensions",
208
- "LOT_SIZE_SOURCE" => "Lot Size Source",
209
- "LT" => "Lot Number",
210
- "LTG" => "Leased Terms",
211
- "LTP" => "Livestock Type",
212
- "LTV" => "Lot Topography Vegetation",
213
- "LVL" => "Level",
214
- "LX1" => "Lease Expiration Unit 1",
215
- "LX2" => "Lease Expiration Unit 2",
216
- "LX3" => "Lease Expiration Unit 3",
217
- "LX4" => "Lease Expiration Unit 4",
218
- "LX5" => "Lease Expiration Unit 5",
219
- "LX6" => "Lease Expiration Unit 6",
220
- "MAP" => "Map Page",
221
- "MAPBOOK" => "Map Book",
222
- "MBD" => "Master Bedroom Location",
223
- "MFY" => "Manufactured After 1976",
224
- "MGR" => "Manager Contact Information",
225
- "MHF" => "Manufactured Home Features",
226
- "MHM" => "Manufactured Home Manufacturer",
227
- "MHN" => "Manufactured Home Model Name",
228
- "MHS" => "Manufactured Home Serial Number",
229
- "MIF" => "Move In Funds Required",
230
- "MLT" => "Minimum Rental Terms",
231
- "MOR" => "Monthly Rent if Rented",
232
- "MR" => "Marketing Remarks",
233
- "MTB" => "Major Type of Business",
234
- "NA" => "Business Name",
235
- "NAS" => "Number of Assigned Spaces",
236
- "NC" => "New Construction",
237
- "NCS" => "Number of Carport Spaces",
238
- "NIA" => "Publish To Internet",
239
- "NN1" => "Monthly NN Unit 1",
240
- "NN2" => "Monthly NN Unit 2",
241
- "NN3" => "Monthly NN Unit 3",
242
- "NN4" => "Monthly NN Unit 4",
243
- "NN5" => "Monthly NN Unit 5",
244
- "NN6" => "Monthly NN Unit 6",
245
- "NNN" => "Total Monthly NNN",
246
- "NOC" => "Number of Units in Complex",
247
- "NOH" => "Number of Homes in Park",
248
- "NOI" => "Net Operating Income",
249
- "NOS" => "Number of Stories in Building",
250
- "NOU" => "Number of Units",
251
- "NP" => "Net Proceeds",
252
- "NWESH_RATING" => "NWESH Certification Rating",
253
- "NEW_CONSTRUCTION" => "New Construction",
254
- "OLP" => "Original Price",
255
- "OOC" => "Owner Occupancy Percentage",
256
- "OSF" => "Approximate Office Square Feet",
257
- "OTR" => "Other Rooms",
258
- "OTX" => "Other Expenses",
259
- "OUT" => "Outbuildings",
260
- "OWNERSHIP" => "Ownership",
261
- "PAD" => "Pad Ready",
262
- "PARQ" => "Third Party Approval Required",
263
- "PAS" => "Park For Sale",
264
- "PDR" => "Pending Date",
265
- "PIC" => "Picture Count",
266
- "PKA" => "Park Amenities",
267
- "PKC" => "Total Covered Parking",
268
- "PKG" => "Parking Types",
269
- "PKS" => "Parking Space Number",
270
- "PKU" => "Total Uncovered Parking",
271
- "PL4" => "Zip Plus 4",
272
- "POC" => "Power Company",
273
- "POL" => "Pool",
274
- "POS" => "Possession",
275
- "PRJ" => "Project",
276
- "PRK" => "Park Name",
277
- "PROHIBIT_BLOG" => "Prohibit Blogging",
278
- "PSZ" => "Parlor Size",
279
- "PTO" => "Preliminary Title Ordered",
280
- "PTYP" => "Property Type",
281
- "ProhibitBLOG" => "Allow Blog",
282
- "QBT" => "Quarter Bathrooms",
283
- "QTR" => "Three Quarter Baths Total",
284
- "RD" => "Road On Which Side of Property",
285
- "RDI" => "Road Information",
286
- "REM" => "Remodeled",
287
- "RES" => "Real Estate Value",
288
- "RF" => "Roof",
289
- "RN1" => "Rent Unit 1",
290
- "RN2" => "Rent Unit 2",
291
- "RN3" => "Rent Unit 3",
292
- "RN4" => "Rent Unit 4",
293
- "RN5" => "Rent Unit 5",
294
- "RN6" => "Rent Unit 6",
295
- "RNT" => "Annual Rent",
296
- "RO1" => "Range Oven Unit 1",
297
- "RO2" => "Range Oven Unit 2",
298
- "RO3" => "Range Oven Unit 3",
299
- "RO4" => "Range Oven Unit 4",
300
- "RO5" => "Range Oven Unit 5",
301
- "RO6" => "Range Oven Unit 6",
302
- "ROFR" => "Right of First Refusal",
303
- "RP" => "Real Property",
304
- "RRM" => "Rec Room Location",
305
- "RS2" => "Restrictions",
306
- "SAA" => "Special Assessment Amount",
307
- "SAG" => "Selling Agent Number",
308
- "SAP" => "Septic Approved for Number of Bedrooms",
309
- "SCA" => "Selling Co Agent Number",
310
- "SCO" => "Selling Co Office Number",
311
- "SD" => "School District Code",
312
- "SDA" => "Septic Designed and Applied for",
313
- "SDT" => "Status Date",
314
- "SEC" => "Section Township Range",
315
- "SEP" => "Septic System Installed",
316
- "SF1" => "Square Feet Unit 1",
317
- "SF2" => "Square Feet Unit 2",
318
- "SF3" => "Square Feet Unit 3",
319
- "SF4" => "Square Feet Unit 4",
320
- "SF5" => "Square Feet Unit 5",
321
- "SF6" => "Square Feet Unit 6",
322
- "SFA" => "Soils Feasibility Available",
323
- "SFF" => "Square Footage Finished",
324
- "SFS" => "Square Footage Source",
325
- "SFU" => "Square Footage Unfinished",
326
- "SH" => "Senior High",
327
- "SHOADR" => "Show Address to Public",
328
- "SIB" => "Number of Stories in Building",
329
- "SIN" => "Signage",
330
- "SIT" => "Site Features",
331
- "SIZ" => "Approximate Building Square Feet",
332
- "SKR" => "Skirting Material",
333
- "SLP" => "Slope of Property",
334
- "SML" => "Show Map Link to Public",
335
- "SNR" => "Senior Exemption",
336
- "SO" => "Selling Office Number",
337
- "SP" => "Selling Price",
338
- "SPA" => "Special Assessment ",
339
- "SPR" => "Space Rent Per Month",
340
- "SRI" => "Space Rent Includes",
341
- "SST" => "Septic System Type",
342
- "SSUF" => "Street Suffix",
343
- "SSZ" => "Storage Size",
344
- "ST" => "Status",
345
- "STA" => "State",
346
- "STF" => "Site Frontage",
347
- "STG" => "Storage Number",
348
- "STL" => "Storage Location",
349
- "STO" => "Storage",
350
- "STP" => "Soil Type",
351
- "STR" => "Street",
352
- "STRS" => "Number of Access Stairs",
353
- "STY" => "Style",
354
- "SUR" => "Survey Information",
355
- "SWC" => "Sewer Company",
356
- "SWR" => "Sewer",
357
- "TAC" => "Till Acres",
358
- "TAV" => "Total Assessed Value",
359
- "TAX" => "Parcel Number",
360
- "TBG" => "Three Quarter Baths Garage",
361
- "TBL" => "Three Quarter Baths Lower",
362
- "TBM" => "Three Quarter Baths Main",
363
- "TBU" => "Three Quarter Baths Upper",
364
- "TER" => "Terms Remarks",
365
- "TEX" => "Total Expenses",
366
- "TEXP" => "Annual Expenses",
367
- "TIN" => "Total Monthly Income",
368
- "TMC" => "Terms and Conditions",
369
- "TN1" => "Description Unit 1",
370
- "TN2" => "Description Unit 2",
371
- "TN3" => "Description Unit 3",
372
- "TN4" => "Description Unit 4",
373
- "TN5" => "Description Unit 5",
374
- "TN6" => "Description Unit 6",
375
- "TOB" => "Type of Business",
376
- "TOF" => "Type of Fireplace",
377
- "TPO" => "Topography",
378
- "TQBT" => "Three Quarter Bathrooms",
379
- "TRI" => "Total Monthly Rent",
380
- "TRM" => "Potential Terms",
381
- "TSF" => "Total Square Feet Rented",
382
- "TSP" => "Total Number of Parking Spaces",
383
- "TURN_OVER" => "Turn Over",
384
- "TX" => "Tax Amount",
385
- "TXY" => "Tax Year",
386
- "TYP" => "Type of Property",
387
- "UBG" => "Units Below Grade",
388
- "UCS" => "Unit Can Stay in Park After Sale",
389
- "UD" => "Update Date",
390
- "UFN" => "Unit Floor Number",
391
- "UN1" => "Description Unit 1",
392
- "UN2" => "Description Unit 2",
393
- "UN3" => "Description Unit 3",
394
- "UN4" => "Description Unit 4",
395
- "UN5" => "Description Unit 5",
396
- "UN6" => "Description Unit 6",
397
- "UNF" => "Unit Features",
398
- "UNT" => "Unit",
399
- "US1" => "Type of Use Unit 1",
400
- "US2" => "Type of Use Unit 2",
401
- "US3" => "Type of Use Unit 3",
402
- "US4" => "Type of Use Unit 4",
403
- "US5" => "Type of Use Unit 5",
404
- "US6" => "Type of Use Unit 6",
405
- "USP" => "Number of Uncovered Spaces",
406
- "UTL" => "Included in Rent",
407
- "UTR" => "Utility Room Location",
408
- "VAC" => "Vacancy Rate",
409
- "VAI" => "Improved Assessed Value",
410
- "VAL" => "Land Assessed Value",
411
- "VALUES" => "Values",
412
- "VCC" => "View Comments",
413
- "VEW" => "View",
414
- "VIRT" => "Virtual Tour URL",
415
- "WAC" => "Water Company",
416
- "WAS" => "Water Source",
417
- "WD1" => "Washer Dryer Unit 1",
418
- "WD2" => "Washer Dryer Unit 2",
419
- "WD3" => "Washer Dryer Unit 3",
420
- "WD4" => "Washer Dryer Unit 4",
421
- "WD5" => "Washer Dryer Unit 5",
422
- "WD6" => "Washer Dryer Unit 6",
423
- "WEEK_ASSIGNMENT" => "Week Assignment",
424
- "WDW" => "Window Covering",
425
- "WFG" => "Waterfront Footage",
426
- "WFT" => "Waterfront",
427
- "WHT" => "Water Heater Location",
428
- "WRJ" => "Water Jurisdiction",
429
- "WSF" => "Approximate Whse Mfg Square Feet",
430
- "WSG" => "Water Sewer Garbage",
431
- "WTR" => "Water",
432
- "XP" => "Expiration Date",
433
- "YBT" => "Year Built",
434
- "YRE" => "Year Established",
435
- "YRS" => "Years Current Owner In Business",
436
- "YVA" => "Year Value Assessed",
437
- "ZIP" => "Zip Code",
438
- "ZJD" => "Zoning Jurisdiction",
439
- "ZNC" => "Zoning Code",
440
- "ZNR" => "Zoning Remarks"
441
- }
1
+ module NwmlsClient
442
2
 
3
+ class Codes
4
+ ALL_CODES = {
5
+ "ACC" => "Acreage Comments",
6
+ "ADU" => "Approved Accessory Dwelling",
7
+ "AFFILIATIONS" => "Affiliations",
8
+ "AFH" => "FHA VA Approved",
9
+ "AFR" => "Additional Finished Rooms ",
10
+ "AGR" => "Age Restrictions",
11
+ "ALLOW_AVM" => "Allow Automated Valuation",
12
+ "AMN" => "Amenities",
13
+ "AMP" => "Power Service in AMPS",
14
+ "ANC" => "Foundation",
15
+ "APH" => "Appliance Hookups",
16
+ "APP" => "Appliances Provided",
17
+ "APS" => "Appliances That Stay",
18
+ "AR" => "Area",
19
+ "ARC" => "Architecture",
20
+ "ASC" => "Association Contact",
21
+ "ASF" => "Approximate Square Footage",
22
+ "ATF" => "Assessment Fees",
23
+ "AUCTION" => "Auction",
24
+ "AVDT" => "Available Date",
25
+ "AVP" => "Number of Available Pads",
26
+ "AllowAVM" => "Allow AVM",
27
+ "BA1" => "Bathrooms Unit 1",
28
+ "BA2" => "Bathrooms Unit 2",
29
+ "BA3" => "Bathrooms Unit 3",
30
+ "BA4" => "Bathrooms Unit 4",
31
+ "BA5" => "Bathrooms Unit 5",
32
+ "BA6" => "Bathrooms Unit 6",
33
+ "BCC" => "Barn Outbuilding Comments",
34
+ "BDC" => "Building Condition",
35
+ "BDI" => "Building Information",
36
+ "BDL" => "Bedrooms Lower",
37
+ "BDM" => "Bedrooms main",
38
+ "BDU" => "Bedrooms Upper",
39
+ "BFE" => "Barn Features",
40
+ "BLD" => "Builder",
41
+ "BLK" => "Block",
42
+ "BON" => "Boundary Survey",
43
+ "BR" => "Bedrooms",
44
+ "BR1" => "Bedrooms Unit 1",
45
+ "BR2" => "Bedrooms Unit 2",
46
+ "BR3" => "Bedrooms Unit 3",
47
+ "BR4" => "Bedrooms Unit 4",
48
+ "BR5" => "Bedrooms Unit 5",
49
+ "BR6" => "Bedrooms Unit 6",
50
+ "BREO" => "Bank Owned",
51
+ "BRI" => "Boarding Income",
52
+ "BRM" => "Bonus Room Location",
53
+ "BSM" => "Basement",
54
+ "BSZ" => "Barn Size",
55
+ "BTH" => "Bathrooms",
56
+ "BTP" => "Barn Type",
57
+ "BUS" => "Bus Line Nearby",
58
+ "BUSR" => "Bus Route Number",
59
+ "BUILT_GREEN_RATING" => "Built Green Certification Rating",
60
+ "CAP" => "Cap Rate",
61
+ "CCC" => "Crop Soil Comments",
62
+ "CDOM" => "Cumulative Days on Market",
63
+ "CFE" => "Features",
64
+ "CHT" => "Ceiling Height",
65
+ "CIT" => "City",
66
+ "CLA" => "CoListing Agent Number",
67
+ "CLO" => "Selling Date",
68
+ "CMFE" => "Community Features",
69
+ "CMN" => "Common Features",
70
+ "CODE" => "Code",
71
+ "COLO" => "Co Office Number",
72
+ "COO" => "Coop",
73
+ "COU" => "County",
74
+ "CRI" => "Crop Income",
75
+ "CSP" => "Column Spacing",
76
+ "CTD" => "Cats and Dogs",
77
+ "CTDT" => "Contingent Date",
78
+ "CONSTRUCTION_METHODS" => "Construction Methods",
79
+ "DD" => "Directions",
80
+ "DESCRIPTION" => "Description",
81
+ "DLT" => "Depth of Lot",
82
+ "DNO" => "Den or Office Location",
83
+ "DOC" => "Documents Provided",
84
+ "DOM" => "Days on Market",
85
+ "DRM" => "Dining Room Location",
86
+ "DRP" => "Directional Prefix",
87
+ "DRS" => "Directional Suffix",
88
+ "DSR" => "Community Name",
89
+ "DSRNUM" => "Community Number",
90
+ "DW1" => "Dishwasher Unit 1",
91
+ "DW2" => "Dishwasher Unit 2",
92
+ "DW3" => "Dishwasher Unit 3",
93
+ "DW4" => "Dishwasher Unit 4",
94
+ "DW5" => "Dishwasher Unit 5",
95
+ "DW6" => "Dishwasher Unit 6",
96
+ "ECRT" => "Environmental Cert",
97
+ "EFFECTIVE_YEAR_BUILT" => "Effective Year Built",
98
+ "EFFECTIVE_YEAR_BUILT_SOURCE" => "Effective Year Built Source",
99
+ "EFR" => "Extra Finished Room Location",
100
+ "EL" => "Elementary School",
101
+ "ELE" => "Electricity",
102
+ "ELEV" => "Elevation",
103
+ "ELEX" => "Electrical Expenses",
104
+ "EMP" => "Number of Employees",
105
+ "ENS" => "Energy Source",
106
+ "ENT" => "Entry Location",
107
+ "ENV" => "Environmental Survey",
108
+ "EPS_ENERGY" => "EPS Energy",
109
+ "EQI" => "Equity",
110
+ "EQP" => "Equipment Included",
111
+ "EQU" => "Equipment",
112
+ "EQV" => "Equipment Value",
113
+ "ESM" => "Easements",
114
+ "EXA" => "Expansion Area",
115
+ "EXP" => "Expenses",
116
+ "EXT" => "Exterior",
117
+ "F17" => "Form 17",
118
+ "FAC" => "Free and Clear",
119
+ "FAM" => "Family Room Location",
120
+ "FBG" => "Full Baths Garage",
121
+ "FBL" => "Full Baths Lower",
122
+ "FBM" => "Full Baths Main",
123
+ "FBT" => "Full Bathrooms",
124
+ "FBU" => "Full Baths Upper",
125
+ "FEA" => "Interior Features",
126
+ "FEN" => "Fence",
127
+ "FG1" => "Refrigerator Unit 1",
128
+ "FG2" => "Refrigerator Unit 2",
129
+ "FG3" => "Refrigerator Unit 3",
130
+ "FG4" => "Refrigerator Unit 4",
131
+ "FG5" => "Refrigerator Unit 5",
132
+ "FG6" => "Refrigerator Unit 6",
133
+ "FIN" => "Financing",
134
+ "FLS" => "Floor Covering",
135
+ "FND" => "Foundation",
136
+ "FP" => "Fireplaces Total",
137
+ "FP1" => "Fireplaces Unit 1",
138
+ "FP2" => "Fireplaces Unit 2",
139
+ "FP3" => "Fireplaces Unit 3",
140
+ "FP4" => "Fireplaces Unit 4",
141
+ "FP5" => "Fireplaces Unit 5",
142
+ "FP6" => "Fireplaces Unit 6",
143
+ "FPL" => "Fireplaces Lower",
144
+ "FPM" => "Fireplaces Main",
145
+ "FPU" => "Fireplaces Upper",
146
+ "FRN" => "Franchise",
147
+ "FTP" => "Farm Type",
148
+ "FTR" => "Property Features",
149
+ "FUR" => "Furnished",
150
+ "GAI" => "Gross Adjusted Income",
151
+ "GAR" => "Total Covered Parking",
152
+ "GAS" => "Gas",
153
+ "GR" => "Parking Type",
154
+ "GRDX" => "X Coordinate",
155
+ "GRDY" => "Y Coordinate",
156
+ "GRM" => "Gross Rent Multiplier",
157
+ "GRS" => "Annual Gross Sales",
158
+ "GSI" => "Gross Scheduled Income",
159
+ "GSP" => "Number of Garage Spaces",
160
+ "GW" => "Goodwill Value",
161
+ "GZC" => "General Zoning Classification",
162
+ "HBG" => "Half Baths Garage",
163
+ "HBL" => "Half Baths Lower",
164
+ "HBM" => "Half Baths Main",
165
+ "HBT" => "Half Bathrooms",
166
+ "HBU" => "Half Baths Upper",
167
+ "HERS_INDEX" => "HERS Index",
168
+ "HET" => "Heating Expenses",
169
+ "HOD" => "Annual Association Dues",
170
+ "HOI" => "Home Owner Dues Include",
171
+ "HRS" => "Hours of Operation",
172
+ "HSN" => "House Number",
173
+ "HSNA" => "Street Number Modifier",
174
+ "HTC" => "Heating and Cooling",
175
+ "IMP" => "Improvements",
176
+ "INDT" => "Inactive Date",
177
+ "INS" => "Insurance Expenses",
178
+ "INV" => "Inventory Value",
179
+ "IRRC" => "Irrigation Comments",
180
+ "IRS" => "Irrigation Source",
181
+ "ITP" => "Irrigation Type",
182
+ "JH" => "Junior High",
183
+ "KES" => "Kitchen with Eating Space Location",
184
+ "KIT" => "Kitchen Location",
185
+ "LAG" => "Listing Agent Number",
186
+ "LAT" => "Latitude",
187
+ "LCC" => "Livestock Comments",
188
+ "LD" => "List Date",
189
+ "LDE" => "Lot Details",
190
+ "LDG" => "Loading",
191
+ "LDR" => "List Date Received",
192
+ "LEED_RATING" => "LEED Certification Rating",
193
+ "LEQ" => "Leased Equipment",
194
+ "LES" => "Lease Terms",
195
+ "LIC" => "Licenses",
196
+ "LIT" => "Leased Items",
197
+ "LN" => "Listing Number",
198
+ "LNI" => "Labor and Industries Inspected",
199
+ "LNM" => "Liens Mortgages",
200
+ "LO" => "Listing Office Number",
201
+ "LOC" => "Location",
202
+ "LONG" => "Longitude",
203
+ "LP" => "Listing Price",
204
+ "LPH" => "Listing Price History",
205
+ "LRM" => "Living Room Location",
206
+ "LSD" => "Leased Equipment",
207
+ "LSF" => "Lot Square Footage",
208
+ "LSI" => "Lease Income",
209
+ "LSZ" => "Lot Dimensions",
210
+ "LOT_SIZE_SOURCE" => "Lot Size Source",
211
+ "LT" => "Lot Number",
212
+ "LTG" => "Leased Terms",
213
+ "LTP" => "Livestock Type",
214
+ "LTV" => "Lot Topography Vegetation",
215
+ "LVL" => "Level",
216
+ "LX1" => "Lease Expiration Unit 1",
217
+ "LX2" => "Lease Expiration Unit 2",
218
+ "LX3" => "Lease Expiration Unit 3",
219
+ "LX4" => "Lease Expiration Unit 4",
220
+ "LX5" => "Lease Expiration Unit 5",
221
+ "LX6" => "Lease Expiration Unit 6",
222
+ "MAP" => "Map Page",
223
+ "MAPBOOK" => "Map Book",
224
+ "MBD" => "Master Bedroom Location",
225
+ "MFY" => "Manufactured After 1976",
226
+ "MGR" => "Manager Contact Information",
227
+ "MHF" => "Manufactured Home Features",
228
+ "MHM" => "Manufactured Home Manufacturer",
229
+ "MHN" => "Manufactured Home Model Name",
230
+ "MHS" => "Manufactured Home Serial Number",
231
+ "MIF" => "Move In Funds Required",
232
+ "MLT" => "Minimum Rental Terms",
233
+ "MOR" => "Monthly Rent if Rented",
234
+ "MR" => "Marketing Remarks",
235
+ "MTB" => "Major Type of Business",
236
+ "NA" => "Business Name",
237
+ "NAS" => "Number of Assigned Spaces",
238
+ "NC" => "New Construction",
239
+ "NCS" => "Number of Carport Spaces",
240
+ "NIA" => "Publish To Internet",
241
+ "NN1" => "Monthly NN Unit 1",
242
+ "NN2" => "Monthly NN Unit 2",
243
+ "NN3" => "Monthly NN Unit 3",
244
+ "NN4" => "Monthly NN Unit 4",
245
+ "NN5" => "Monthly NN Unit 5",
246
+ "NN6" => "Monthly NN Unit 6",
247
+ "NNN" => "Total Monthly NNN",
248
+ "NOC" => "Number of Units in Complex",
249
+ "NOH" => "Number of Homes in Park",
250
+ "NOI" => "Net Operating Income",
251
+ "NOS" => "Number of Stories in Building",
252
+ "NOU" => "Number of Units",
253
+ "NP" => "Net Proceeds",
254
+ "NWESH_RATING" => "NWESH Certification Rating",
255
+ "NEW_CONSTRUCTION" => "New Construction",
256
+ "OLP" => "Original Price",
257
+ "OOC" => "Owner Occupancy Percentage",
258
+ "OSF" => "Approximate Office Square Feet",
259
+ "OTR" => "Other Rooms",
260
+ "OTX" => "Other Expenses",
261
+ "OUT" => "Outbuildings",
262
+ "OWNERSHIP" => "Ownership",
263
+ "PAD" => "Pad Ready",
264
+ "PARQ" => "Third Party Approval Required",
265
+ "PAS" => "Park For Sale",
266
+ "PDR" => "Pending Date",
267
+ "PIC" => "Picture Count",
268
+ "PKA" => "Park Amenities",
269
+ "PKC" => "Total Covered Parking",
270
+ "PKG" => "Parking Types",
271
+ "PKS" => "Parking Space Number",
272
+ "PKU" => "Total Uncovered Parking",
273
+ "PL4" => "Zip Plus 4",
274
+ "POC" => "Power Company",
275
+ "POL" => "Pool",
276
+ "POS" => "Possession",
277
+ "PRJ" => "Project",
278
+ "PRK" => "Park Name",
279
+ "PROHIBIT_BLOG" => "Prohibit Blogging",
280
+ "PSZ" => "Parlor Size",
281
+ "PTO" => "Preliminary Title Ordered",
282
+ "PTYP" => "Property Type",
283
+ "ProhibitBLOG" => "Allow Blog",
284
+ "QBT" => "Quarter Bathrooms",
285
+ "QTR" => "Three Quarter Baths Total",
286
+ "RD" => "Road On Which Side of Property",
287
+ "RDI" => "Road Information",
288
+ "REM" => "Remodeled",
289
+ "RES" => "Real Estate Value",
290
+ "RF" => "Roof",
291
+ "RN1" => "Rent Unit 1",
292
+ "RN2" => "Rent Unit 2",
293
+ "RN3" => "Rent Unit 3",
294
+ "RN4" => "Rent Unit 4",
295
+ "RN5" => "Rent Unit 5",
296
+ "RN6" => "Rent Unit 6",
297
+ "RNT" => "Annual Rent",
298
+ "RO1" => "Range Oven Unit 1",
299
+ "RO2" => "Range Oven Unit 2",
300
+ "RO3" => "Range Oven Unit 3",
301
+ "RO4" => "Range Oven Unit 4",
302
+ "RO5" => "Range Oven Unit 5",
303
+ "RO6" => "Range Oven Unit 6",
304
+ "ROFR" => "Right of First Refusal",
305
+ "RP" => "Real Property",
306
+ "RRM" => "Rec Room Location",
307
+ "RS2" => "Restrictions",
308
+ "SAA" => "Special Assessment Amount",
309
+ "SAG" => "Selling Agent Number",
310
+ "SAP" => "Septic Approved for Number of Bedrooms",
311
+ "SCA" => "Selling Co Agent Number",
312
+ "SCO" => "Selling Co Office Number",
313
+ "SD" => "School District Code",
314
+ "SDA" => "Septic Designed and Applied for",
315
+ "SDT" => "Status Date",
316
+ "SEC" => "Section Township Range",
317
+ "SEP" => "Septic System Installed",
318
+ "SF1" => "Square Feet Unit 1",
319
+ "SF2" => "Square Feet Unit 2",
320
+ "SF3" => "Square Feet Unit 3",
321
+ "SF4" => "Square Feet Unit 4",
322
+ "SF5" => "Square Feet Unit 5",
323
+ "SF6" => "Square Feet Unit 6",
324
+ "SFA" => "Soils Feasibility Available",
325
+ "SFF" => "Square Footage Finished",
326
+ "SFS" => "Square Footage Source",
327
+ "SFU" => "Square Footage Unfinished",
328
+ "SH" => "Senior High",
329
+ "SHOADR" => "Show Address to Public",
330
+ "SIB" => "Number of Stories in Building",
331
+ "SIN" => "Signage",
332
+ "SIT" => "Site Features",
333
+ "SIZ" => "Approximate Building Square Feet",
334
+ "SKR" => "Skirting Material",
335
+ "SLP" => "Slope of Property",
336
+ "SML" => "Show Map Link to Public",
337
+ "SNR" => "Senior Exemption",
338
+ "SO" => "Selling Office Number",
339
+ "SP" => "Selling Price",
340
+ "SPA" => "Special Assessment ",
341
+ "SPR" => "Space Rent Per Month",
342
+ "SRI" => "Space Rent Includes",
343
+ "SST" => "Septic System Type",
344
+ "SSUF" => "Street Suffix",
345
+ "SSZ" => "Storage Size",
346
+ "ST" => "Status",
347
+ "STA" => "State",
348
+ "STF" => "Site Frontage",
349
+ "STG" => "Storage Number",
350
+ "STL" => "Storage Location",
351
+ "STO" => "Storage",
352
+ "STP" => "Soil Type",
353
+ "STR" => "Street",
354
+ "STRS" => "Number of Access Stairs",
355
+ "STY" => "Style",
356
+ "SUR" => "Survey Information",
357
+ "SWC" => "Sewer Company",
358
+ "SWR" => "Sewer",
359
+ "TAC" => "Till Acres",
360
+ "TAV" => "Total Assessed Value",
361
+ "TAX" => "Parcel Number",
362
+ "TBG" => "Three Quarter Baths Garage",
363
+ "TBL" => "Three Quarter Baths Lower",
364
+ "TBM" => "Three Quarter Baths Main",
365
+ "TBU" => "Three Quarter Baths Upper",
366
+ "TER" => "Terms Remarks",
367
+ "TEX" => "Total Expenses",
368
+ "TEXP" => "Annual Expenses",
369
+ "TIN" => "Total Monthly Income",
370
+ "TMC" => "Terms and Conditions",
371
+ "TN1" => "Description Unit 1",
372
+ "TN2" => "Description Unit 2",
373
+ "TN3" => "Description Unit 3",
374
+ "TN4" => "Description Unit 4",
375
+ "TN5" => "Description Unit 5",
376
+ "TN6" => "Description Unit 6",
377
+ "TOB" => "Type of Business",
378
+ "TOF" => "Type of Fireplace",
379
+ "TPO" => "Topography",
380
+ "TQBT" => "Three Quarter Bathrooms",
381
+ "TRI" => "Total Monthly Rent",
382
+ "TRM" => "Potential Terms",
383
+ "TSF" => "Total Square Feet Rented",
384
+ "TSP" => "Total Number of Parking Spaces",
385
+ "TURN_OVER" => "Turn Over",
386
+ "TX" => "Tax Amount",
387
+ "TXY" => "Tax Year",
388
+ "TYP" => "Type of Property",
389
+ "UBG" => "Units Below Grade",
390
+ "UCS" => "Unit Can Stay in Park After Sale",
391
+ "UD" => "Update Date",
392
+ "UFN" => "Unit Floor Number",
393
+ "UN1" => "Description Unit 1",
394
+ "UN2" => "Description Unit 2",
395
+ "UN3" => "Description Unit 3",
396
+ "UN4" => "Description Unit 4",
397
+ "UN5" => "Description Unit 5",
398
+ "UN6" => "Description Unit 6",
399
+ "UNF" => "Unit Features",
400
+ "UNT" => "Unit",
401
+ "US1" => "Type of Use Unit 1",
402
+ "US2" => "Type of Use Unit 2",
403
+ "US3" => "Type of Use Unit 3",
404
+ "US4" => "Type of Use Unit 4",
405
+ "US5" => "Type of Use Unit 5",
406
+ "US6" => "Type of Use Unit 6",
407
+ "USP" => "Number of Uncovered Spaces",
408
+ "UTL" => "Included in Rent",
409
+ "UTR" => "Utility Room Location",
410
+ "VAC" => "Vacancy Rate",
411
+ "VAI" => "Improved Assessed Value",
412
+ "VAL" => "Land Assessed Value",
413
+ "VALUES" => "Values",
414
+ "VCC" => "View Comments",
415
+ "VEW" => "View",
416
+ "VIRT" => "Virtual Tour URL",
417
+ "WAC" => "Water Company",
418
+ "WAS" => "Water Source",
419
+ "WD1" => "Washer Dryer Unit 1",
420
+ "WD2" => "Washer Dryer Unit 2",
421
+ "WD3" => "Washer Dryer Unit 3",
422
+ "WD4" => "Washer Dryer Unit 4",
423
+ "WD5" => "Washer Dryer Unit 5",
424
+ "WD6" => "Washer Dryer Unit 6",
425
+ "WEEK_ASSIGNMENT" => "Week Assignment",
426
+ "WDW" => "Window Covering",
427
+ "WFG" => "Waterfront Footage",
428
+ "WFT" => "Waterfront",
429
+ "WHT" => "Water Heater Location",
430
+ "WRJ" => "Water Jurisdiction",
431
+ "WSF" => "Approximate Whse Mfg Square Feet",
432
+ "WSG" => "Water Sewer Garbage",
433
+ "WTR" => "Water",
434
+ "XP" => "Expiration Date",
435
+ "YBT" => "Year Built",
436
+ "YRE" => "Year Established",
437
+ "YRS" => "Years Current Owner In Business",
438
+ "YVA" => "Year Value Assessed",
439
+ "ZIP" => "Zip Code",
440
+ "ZJD" => "Zoning Jurisdiction",
441
+ "ZNC" => "Zoning Code",
442
+ "ZNR" => "Zoning Remarks"
443
+ }
443
444
 
444
- def self.expand_attribute(attr)
445
- begin
446
- combined = "#{ALL_CODES.fetch(attr)} (#{attr})"
447
- rescue KeyError
448
- attr
449
- end
450
- end
451
445
 
452
- def self.expand_code(attr)
453
- begin
454
- combined = "#{ALL_CODES.fetch(attr)}"
455
- field_name = "#{combined.gsub(/\s+/, "_").downcase}"
456
- rescue KeyError
457
- attr
458
- end
459
- end
446
+ def self.expand_attribute(attr)
447
+ begin
448
+ combined = "#{ALL_CODES.fetch(attr)} (#{attr})"
449
+ rescue KeyError
450
+ attr
451
+ end
452
+ end
460
453
 
461
- def self.print
462
- ALL_CODES.each do |key, value|
463
- field = value.gsub(/\s+/, "_").downcase
464
- puts "add_column :residentials, :#{field}, :string"
465
- end
466
- end
454
+ def self.expand_code(attr)
455
+ begin
456
+ combined = "#{ALL_CODES.fetch(attr)}"
457
+ field_name = "#{combined.gsub(/\s+/, "_").downcase}"
458
+ rescue KeyError
459
+ attr
460
+ end
461
+ end
467
462
 
463
+ def self.print
464
+ ALL_CODES.each do |key, value|
465
+ field = value.gsub(/\s+/, "_").downcase
466
+ puts "add_column :residentials, :#{field}, :string"
467
+ end
468
+ end
469
+
470
+ end
471
+
468
472
  end
469
473
 
474
+
470
475
  #Codes.print
@@ -87,7 +87,7 @@ module NwmlsClient
87
87
  item.each do |key, value|
88
88
  items = []
89
89
  code = key.to_s.upcase
90
- friendly_name = Codes.expand_code(code)
90
+ friendly_name = NwmlsClient::Codes.expand_code(code)
91
91
 
92
92
  if amenity[code] && value
93
93
  amenities = value.split('|')
@@ -108,7 +108,7 @@ module NwmlsClient
108
108
  if value != nil
109
109
  items = []
110
110
  code = key.to_s.upcase
111
- friendly_name = Codes.expand_code(code)
111
+ friendly_name = NwmlsClient::Codes.expand_code(code)
112
112
 
113
113
  if amenity[code]
114
114
  amenities = value.split('|')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nwmls_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TJ Flynn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-26 00:00:00.000000000 Z
11
+ date: 2016-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: savon