https://github.com/bodinsamuel/seloger-php
Unofficial PHP library to connect to seloger.com api #seloger
https://github.com/bodinsamuel/seloger-php
Last synced: about 2 months ago
JSON representation
Unofficial PHP library to connect to seloger.com api #seloger
- Host: GitHub
- URL: https://github.com/bodinsamuel/seloger-php
- Owner: bodinsamuel
- License: mit
- Created: 2014-05-01T21:06:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-06T09:30:55.000Z (almost 11 years ago)
- Last Synced: 2025-03-25T07:02:42.427Z (2 months ago)
- Language: PHP
- Homepage:
- Size: 199 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SeLoger.com-PHP
===============Unofficial PHP library to connect to seloger.com api
Example
=======
Search
------
```php
// Create new class
$search = new Seloger\Search();// Apply custom options
$search->type('rent');
$search->order('date_desc');
$search->property('appartement');
$search->zipcode(['750115']);
$search->price(800, 2500);// Additionnal
$search->si('elevator', TRUE);// Get results
$results = $search->run();
```Other
-----
```php
// Create class
$request = new Seloger\Request();// Number of post
$request->type = 'nbAnnoncesTotal';
$results = $request->run();// Detail of a post
$request->type = 'annonceDetail';
$request->setParams('idAnnonce', 123456);
$results = $request->run();
```Api Details
===========
Look at [Api.md](API.md)