Skip to content

Ouadie/VdmScraper

Repository files navigation

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

About

A scraper of viedemerde.fr posts made with Lumen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published