Skip to content

raphckrman/turboself-api

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dfcfa23 · May 12, 2024

History

53 Commits
May 10, 2024
May 10, 2024
May 12, 2024
Apr 7, 2024
Mar 25, 2024
Mar 1, 2024
May 10, 2024
Mar 2, 2024
May 10, 2024
May 9, 2024
Mar 1, 2024

Repository files navigation

turboself-api

npm npm version npm npm

A simple wrapper to interact with the TurboSelf API.

Warning

This project is not affiliated with TurboSelf or INCB in any way.

📝 Roadmap

  • Authentification

    • With credentials
    • With token (with Pronote for example)
  • Reset password request (with email)

  • Get informations

    • Balance
    • Bookings
    • History
    • Host
    • Last transaction
    • Permissions to book evenings meals
    • Siblings
    • User
  • Seaching an etablishment

    • By city
    • With Limit
  • Get etablishment informations

  • Book a meal (book and cancel)

📦 Installation

npm install turboself-api

🔧 Usage

Authentification with credentials

const TurboSelf = require("turboself-api");

async function main() {
  let client = await TurboSelf.authenticateWithCredentials({
    username: "your_email",
    password: "your_password",
  });
  console.log(client);
}

main();

Other exemples

To see more examples, check the examples folder.

௷ Credits

Thanks to the following people for their contributions to this project: