Download the PHP package osoobe/dubizzle without Composer
On this page you can find all versions of the php package osoobe/dubizzle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download osoobe/dubizzle
More information about osoobe/dubizzle
Files in osoobe/dubizzle
Package dubizzle
Short Description Dubizzle for PHP
License MIT
Homepage https://github.com/Osoobe/dubizzle-php
Informations about the package dubizzle
Introduction
Dubizzle is an online classifieds website. This project aims to become a simple and complete PHP scraping-based API for Dubizzle.
This project was enspired by python's Dubizzle scraping API.
Notice
This is still a work in progress. There is much left to do until this becomes what it should be. I will however make sure that the master
branch functions as expected. Any help would be greatly appreciated, obviously.
Another thing to point out is that the main focus for the time being is on Dubizzle UAE and specifically Motors search within it.
Prerequisites
- php-html-parse
- php-curl-class
- HTMLPurifier
- PHP 5.3 or greater
Installation
To easily install Dubizzle, simply:
If you don't have compose install, see how to install and use composer
Quickstart
The $results
variable is a array of associated data for each result item on dubizzle:
See Demo 1 for data output.
Example
Find average price of year 2007 and above Nissan Altimas in Dubai (Live Demo)
Other Examples
Get the list of makes from [Dubizzle] (Live Demo):
Get the list of models from [Dubizzle] (Live Demo):
Search Parameters
General
country
- string; defaults to 'uae'keyword
- stringcity
- stringsection
- stringmin_price
andmax_price
- integerscategory
- stringadded_days
- choices are 0, 3, 7, 14, 30, 90, or 180num_results
- integer; 'all' fetches all results availabledetailed
(not implemented) - if set toTrue
, fetches full listing data for each result; slower, obviously
Motors
make
- a long list can be found inregions.py
min_year
andmax_year
- integersmin_kms
andmax_kms
- integersseller
- 'dealer' or 'owner'fuel
- 'gasoline', 'hybrid', 'diesel', or 'electric'cylinders
- 3, 4, 5, 6, 8, 10, or 12transmission
- 'automatic' or 'manual'
Listing Parameters
url
- string, requiredcountry
- string; defaults to 'uae'
Issues
Please use the Issues page for that.
All versions of dubizzle with dependencies
paquettg/php-html-parser Version 1.6.4
php-curl-class/php-curl-class Version ^4.6
ezyang/htmlpurifier Version ^4.7