Skip to content
A scraper of viedemerde.fr posts made with Lumen
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
database
public
resources/views
storage
tests
.env.example
.gitignore
LICENSE
README.md
artisan
composer.json
composer.lock
phpunit.xml
readme.md

README.md

VdmScraper

A scraper of viedemerde.fr posts made with Lumen

Install

Install dependencies by running composer install.

Then run php artisan migrate to setup the database

Scraping

You can use the command php artisan scrap to get the latest posts from VDM website. you can also specify the number of posts by using the option --count[=COUNT] the default and max value is 200

Api

Use can request /api/posts to get all posts or /api/posts/{id} to get a specific post

Test

To run test use vendor/bin/phpunit

Lumen PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

You can’t perform that action at this time.