divinityfound / craigslistapi
Parse Craigslist data and return it in json format.
Installs: 38
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/divinityfound/craigslistapi
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-09-27 23:21:10 UTC
README
##Craigslist API ###Scrape against craigslist for anything you'd like!
Craigslist doesn't use an actual API so you have to scrape against it and parse the data accordingly. This tool will make it easier to aggregate a lot of data into a useable fasion.
###Code
require_once(__DIR__ . '/../vendor/autoload.php'); $craigslist = new \Divinityfound\CraigslistApi\Reader; echo '<pre>'; print_r($craigslist->getSearchResults('omaha','cpg')); echo '</pre>'; exit; ?>