Sha256: 1218c2506a04f1afe3dc413d7699bed3676089d5ae6fb5f46fc7961d1212beef
Contents?: true
Size: 492 Bytes
Versions: 2
Compression:
Stored size: 492 Bytes
Contents
require 'rest-client' require 'nokogiri' module MelissaData module WebSmart class PropertyAPI def property(fips:, apn:) resp = RestClient.get('https://property.melissadata.net/v3/REST/Service.svc/doLookup', { params: { id: MelissaData.web_smart_id, fips: fips, apn: apn } }) PropertyXMLParser.new(Nokogiri::XML(resp)).parse end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
melissa_data-0.2.1 | lib/melissa_data/web_smart/property_api.rb |
melissa_data-0.2.0 | lib/melissa_data/web_smart/property_api.rb |