import { default } from "https://deno.land/x/tpy@v1.0.0-RC/mod.ts";
The central entity for interacting with the Pylon API; the entrypoint.
Methods
Connects to the Pylon workbench WebSocket.
Gets all the guilds the user is in.
Gets the deployment information.
Gets the most recent deployment ID from a guildID.
Gets all guilds a user can edit with Pylon. More specifically, all guilds which the user is an administrator.
Gets the raw Discord guild information with deployment information.
Gets the guild computational statistics.
Gets all the namespace items under the given deployment ID.
Gets all the namespaces under the given deployment ID.
Gets the user's account details associated with the included credentials.
Makes a request to the API and creates possible errors according to the response.
Creates a new TpyKV
instantiation, much like the Pylon SDK's KVNamespace class.
Makes a POST request to publish a deployment; returns details of the new deployment.
A factory function with default headers, allowing optional specificity.