So you want to use the Repl.it api?

It's pretty rough, but here's what we got for ya so far. Please keep in mind this is in early alpha, things are subject to break and docs are incomplete.

Once you have a developer key, you can start issuing tokens and connect to existing repls. Each time you connect you will need to your your API key to get a one-time token for a specific repl.

Here is the endpoint for getting a token

Once you get the token, you can use it in to connect to the backend, in crosis it looks like this client.connect({ token: myToken })

Here's a simple example running the command echo hello world inside the repl. You can fork it and add your API key.