squashscrape
v1.0.5
Published
A scraper that will pull your latest squash match data
Downloads
312
Readme
About The Project
This tool will enable SquashLevels users to grab their latests game data and export it to JSON or CSV.
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
You will need to have a squashlevels account.
Installation
Install package
npm i squashscrape
create .env file
SQUASHLEVELS_USER
,SQUASHLEVELS_PASSWORD_MD5
import the package
import * as squashscrape from 'squashscrape'
collect data
squashscrape.dataToCsv(); Will generate a CSV squashscrape.dataToJson(); Will generate a JSON squashscrape.collectData(); Will return an object
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt
for more information.