Skip to content
    Back to all Bounties

    Earn 4,500 ($45.00)

    Time Remainingdue 9 months ago
    Canceled

    Create a basic replit client that supports CRUD on replits

    kyledavis124
    kyledavis124
    Posted 1 year ago

    Bounty Description

    Problem Description

    I'm building a website to teach coding to students. I want students to click a link and join a specific lesson's coding environment. I need to automatically create a repl for each lesson with a template, title, description, visibility, and invite users.

    I need someone to create a replit client in typescript for me to use in my website.

    A python flask proxy is also ok, as long as it has the follow operations.

    Requirements

    • Create repl, template, title, description
    • Invite users with repl id
    • Read repl, find by title, by id, by folder
    • update repl
    • delete repl

    ? = means optional

    example Interface

    Create a new coding environment client

    let client = new ReplitClient(credentials);

    Create a new coding environment:
    let { id, url } = await client.createRepl(name, description, folder, visibility, [users?]);

    let { id, title, description } = await client.getRepl(id);

    let { repls } = await client.getRepls([ids]);

    let { repls } = await client.findRepls(title?, folder?);

    // All are optional
    // Only update provided
    Update an existing coding environment:
    await client.updateRepl(id, title?, description?, folder?, visibility, [users?]);

    Delete a coding environment:
    await client.deleteRepl(id);

    Copyright © 2024 Replit, Inc. All rights reserved.
    • twitter
    • tiktok
    • instagram
    • facebook

    Replit

    Programming languages

    • Python
    • JavaScript
    • TypeScript
    • Node.js
    • Nix
    • HTML, CSS, JS
    • C++
    • Golang