1.0.1 • Published 10 months ago

joms-scrapping-js v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

JS Scraping Project

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)

Prerequisites

  • Node.js 14 or later

Installation

  1. Clone the repository:
    git clone
  1. Install the dependencies:
    npm install

Usage

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.

Tests

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.

Contributors

  • Joanne Massillon @joannemas

Licence

This project is licensed under the MIT License.

1.0.1

10 months ago

1.0.0

10 months ago