2017 © Pedro Peláez
 

library daftapi

Simple library to easily use daft.ie API o your project

image

vgomes/daftapi

Simple library to easily use daft.ie API o your project

  • Friday, April 15, 2016
  • by vgomes
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

DaftAPI

Package to use Daft.ie API easily from any PHP project., (*1)

Install

Via Composer, (*2)

``` bash $ composer require vgomes/daftapi, (*3)


You'll need also PHP [SOAP extension](http://php.net/manual/en/book.soap.php) installed and configured in your server. ## Usage In order to use this, you'll need a Daft api key. Get in touch with them in order to get one. ``` php $api = new DaftAPI('your_api_key_here'); $propsForSale = $api->sale();

By default, Daft API doesn't cover overseas properties, so that functionality is achieved through some HTML parsing. Support is added to use in a similar way to the API., (*4)

``` php $overseas = new DaftOverseas('your_overseas_key'); $properties = $overseas->properties([ 'country' => DaftOverseas::SPAIN, 'max_price' => 500000, 'limit' => 5 ])); // 5 properties on Spain with price under 500k, (*5)

$property = $overseas->property(your_property_id); ```, (*6)

Provided methods to get a list of properties, information about a particular property and get the pictures for a particular ad. I couldn't fnid information on more specific params to refine searches appart of the included ones. So feel free to contact me to add support for more if you have information about them., (*7)

Documentation

Check oficial Daft.ie API docs to get information on what parameters you can use on requests and the type of results you can get. You can also check some code examples., (*8)

Change log

Please see CHANGELOG for more information what has changed recently., (*9)

Security

If you discover any security related issues, please email victor.j.gomes@gmail.com instead of using the issue tracker., (*10)

Credits

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

15/04 2016

dev-master

9999999-dev https://github.com/vgomes/daftapi

Simple library to easily use daft.ie API o your project

  Sources   Download

MIT

The Requires

 

The Development Requires

vgomes daftapi

15/04 2016

0.8.0

0.8.0.0 https://github.com/vgomes/daftapi

Simple library to easily use daft.ie API o your project

  Sources   Download

MIT

The Requires

 

The Development Requires

vgomes daftapi

11/04 2016

dev-develop

dev-develop https://github.com/vgomes/daftapi

Simple library to easily use daft.ie API o your project

  Sources   Download

MIT

The Requires

 

The Development Requires

vgomes daftapi

11/04 2016

0.7.1

0.7.1.0 https://github.com/vgomes/daftapi

Simple library to easily use daft.ie API o your project

  Sources   Download

MIT

The Requires

 

The Development Requires

vgomes daftapi

07/04 2016

0.7.0

0.7.0.0 https://github.com/vgomes/daftapi

Simple library to easily use daft.ie API o your project

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

vgomes daftapi

05/04 2016

0.6.0

0.6.0.0 https://github.com/vgomes/daftapi

Simple library to easily use daft.ie API o your project

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

vgomes daftapi

05/04 2016

0.5.2

0.5.2.0 https://github.com/vgomes/daftapi

Simple library to easily use daft.ie API o your project

  Sources   Download

MIT

The Requires

  • php ~5.5

 

The Development Requires

vgomes daftapi