This project is a JS scraping application that retrieves data from an API
We retrieve the following information from the API https://data.culture.gouv.fr/explore/dataset/panorama-des-festivals/api/?rows=100:
- Nom (Name)
- Domaine (Domain)
- Commune (City)
- Site Web (Website)
-
Node.js 14 or later
- Clone the repository:
git clone
- Install the dependencies:
npm install
To run the scraping application and retrieve festival data, use the following command:
node index.js
This will fetch the festival data from the API and display it in the console. When calling the scrapeFestivals, filter takes into account four parameters: region, domain, department, and usual start month with an example.
To run the unit tests, use the following command:
npm run test
This will execute the test suite and display the test results using Jest.
- Joanne Massillon @joannemas
This project is licensed under the MIT License.