0.0
No commit activity in last 3 years
No release in over 3 years
Ruby wrapper for the CoreLogic Property API. http://developer.corelogic.com/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
>= 0
>= 0
~> 10.0
~> 3.0
>= 0.6.2

Runtime

 Project Readme

Corelogic

Gem Version Build Status Test Coverage Maintainability

CoreLogic API wrapper.

https://developer.corelogic.com/property-api/apis

Installation

Add this line to your application's Gemfile:

gem 'corelogic-ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install corelogic-ruby

Configuring Corelogic

Corelogic.configure(consumer_key: 'your_client_id', consumer_secret: 'your_client_secret')

Or alternatively:

Corelogic.configure do |c|
    c.consumer_key = 'your_client_id'
    c.consumer_secret = 'your_client_secret'
end

Usage

Property Search

Search the CoreLogic database for a property based on the input address and returns a unique CoreLogic PropertyID for use in subsequent API calls for other CoreLogic Property Data. Requires address and either zip5 or city and state. For example:

result = Corelogic::Property.search(zip5: 'target_zip', address: 'target_address')

If the properties are found, the result will contain an array of Corelogic::Property objects.

Otherwise, if nothing is found, search returns Corelogic::Error::NotFound: No records returned from search

Property data

Get Property data by CoreLogic PropertyID. For example:

property = Corelogic::Property.new(corelogicPropertyId: 'someCorelogicPropertyId')

Property Ownership

Get detailed property ownership data based on an input CoreLogic PropertyID.

property.ownership
=> #<Corelogic::Property::Ownership:0x007fe422132460 ...>

Following methods are provided for an Corelogic::Property instance.

#ownership
#building
#tax_assessment
#site
#location
#owner_transfer
#last_market_sale
#prior_sale
#load_details

Credits

Sponsored by JetRockets.

JetRockets

License

The gem is available as open source under the terms of the MIT License.