joms-scrapping-js

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i joms-scrapping-js

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

6.06 kB

Total Files

7

Last publish

Collaborators

  • joannemas