Skip to content

chris-lsn/pikpak-js-sdk

Repository files navigation

pikpak-js-sdk (unofficial)

Code quality

This is a simple javascript SDK for the PikPak API.

Installation

npm install pikpak-js

Supported Functions

  • Get Tasks
  • Create Task
  • Delete Task
  • Get Folder
  • Create Folder
  • Delete Folders
  • Get File
  • Get Quota

Currently, it only supports the functions mentioned above, but it covers more frequently used features. If you require additional functionality, please open an issue.

Usage

const pikpak = new PikPak("username", "password");
const tasks = await pikpak.getTasks();

Development

This project is based on the js runtime of Bun. Please make sure you have installed the bun cli before running the project.

To run the project in development mode, run the following command:

bun run dev

License

MIT