Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webgpt/sdk

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webgpt/sdk

WebGPT SDK is a TypeScript / JavaScript library for interacting with the WebGPT API.

  • 0.19.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-92.31%
Maintainers
1
Weekly downloads
 
Created
Source

⏣ WebGPT SDK

License of ⏣ WebGPT SDK Quality of package ⏣ WebGPT SDK lint test Known Vulnerabilities Issues Socket

WebGPT SDK is a TypeScript / JavaScript library for interacting with the WebGPT API.

Usage

First, install the package:


npm i @webgpt/sdk

Then, you can use the SDK in your code:

import { WebgptSdk } from '@webgpt/sdk';

const webgpt = new WebgptSdk({
    apiKey: 'webgpt-sample-token',
});

const { assignment } = await webgpt
    .makeAssignment({
        idea: `Crocodile zoo`,
        language: `en`,
    })
    .asPromise();

console.info(`Assignment:`, '\n', assignment);

See more usage examples in the /samples directory.

Capabilities of SDK

  1. Make assignment Creates assignment from idea.
  2. Make website Makes website from from idea and publishes it.

Terminology

  • Idea is short description of the website, email from client or any other input that describes the desired website.
  • Assignment is precise and professional description of the website, content structure, name, domain, keywords, etc.
  • Website Preview is website inside the WebGPT system in editable state, for example https://webgpt.cz/fuel-factor-x-2plub5fh5wws
  • Published Website is the final product, the website live on the the domain, for example https://www.jezdimelevneji.cz/
  • Task is the process of creating the assignment or website.
    • Every task has its unique ID
    • Once started, task is running independently of the SDK instance
    • Task can be recovered by its ID
    • You can list all tasks and their statuses with .asObservable()
    • Or just get the result with .asPromise()

Access

The SDK is for our partners.

Token webgpt-sample-token works only for the sample usage. It behaves like a real token, but it does not create any real assignments or websites, just returns sample data.

If you are interested in using it, please contact us at pavol@webgpt.cz.

Keywords

FAQs

Package last updated on 02 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc