This project is a JavaScript application that uses npm for package management. It interacts with the Degoo API to perform various operations.
To install the project, follow these steps:
- Clone the repository:
git clone https://github.com/username/repository.git
- Navigate to the project directory:
cd repository
- Install the dependencies:
npm install
To use the project, you need to obtain a refreshToken from Degoo. Here's how you can do it:
- Go to the Degoo website and log in to your account.
- Open the developer tools in your browser (usually F12 or Ctrl+Shift+I).
- Navigate to the Network tab.
- Refresh the page and look for a request to an endpoint that includes 'https://rest-api.degoo.com/access-token/v2' in the URL.
- Click on the request and inspect the Response tab.
- Look for a field named 'refreshToken' and copy its value.
Once you have the refreshToken, you can use it in the project as follows:
- Open the
.env
file in the project root. - Set the
REFRESH_TOKEN
environment variable to the refreshToken value you copied. - Start the process to download everything:
npm run start
If you want to contribute to this project, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE
file for more details.