WebService::Nestoria::Search::Result - Container object for a WebService::Nestoria::Search result.
version 1.022013
Contains all the information received about a single property listing and many functions for outputting the information.
This package is used by WebService::Nestoria::Search and a Result object should never need to be explicitly created by the user.
The get_* functions each return one attribute about the listing. They are as follows:
get_latitude get_longitude get_listing_type get_property_type get_datasource_name get_lister_name get_lister_url get_price get_price_type get_price_currency get_price_formatted get_price_high get_price_low get_price_coldrent get_title get_summary get_bedroom_number get_bathroom_number get_room_number get_floor get_size get_size_unit get_land_size get_land_size_unit get_thumb_url get_thumb_height get_thumb_width get_img_url get_img_height get_img_width get_keywords get_guid get_commission get_construction_year get_auction_date get_updated_in_days get_updated_in_days_formatted get_location_accuracy
Returns a hashref containing the details of the listing with keys exactly as the list above. For example:
use Data::Dumper; print Dumper($result->get_hashref); $VAR1= { 'price_currency' => 'GBP', 'bathroom_number' => '2', 'price_formatted' => '459,950 GBP', 'listing_type' => 'buy', 'keywords' => 'Garden, Loft, Cellar, Reception', 'summary' => 'In need of complete refurbishment is this four bedroom family home located...', 'latitude' => '51.4508', 'lister_url' => 'http://rd.nestoria.co.uk/rd?l=api-sr-title-1&url=...', 'property_type' => 'house', 'price_type' => 'fixed', 'longitude' => '-0.129012', 'thumb_width' => '60', 'lister_name' => 'KF&H', 'thumb_url' => 'http://limg.nestoria.co.uk/f/b/fb67e2b0d76350f7ebcf8fa6488b2ec4.jpg', 'title' => 'Thornbury Road, Brixton', 'price' => '459950', 'bedroom_number' => '4', 'thumb_height' => '60', 'datasource_name' => 'PropertyFinder' 'floor' => '2', };
Copyright (C) 2009 Lokku Ltd.
Alex Balhatchet (alex@lokku.com)
Patches supplied by Yoav Felberbaum and Alistair Francis.
To install WebService::Nestoria::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Nestoria::Search
CPAN shell
perl -MCPAN -e shell install WebService::Nestoria::Search
For more information on module installation, please visit the detailed CPAN module installation guide.