You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@firesquad/api-sdk

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firesquad/api-sdk

Properly integrate your Nodejs apps with firesquad usign this SDK.

1.9.0
latest
Source
npmnpm
Version published
Weekly downloads
24
166.67%
Maintainers
4
Weekly downloads
 
Created
Source

@firesquad/api-sdk

Properly integrate your Nodejs apps with firesquad usign this SDK.

  • Firesquad API Knowledge Base
  • API Docs

Firesquad

Quick Start

For getting started, Create an API Integration on Firesquad. After that, you can use this firesquad package:

import { Firesquad, ConversationContentMessageType } from "@firesquad/api-sdk";

export const fs = new Firesquad(
  "https://<your-account>.api.firesquad.io",
  "<your-api-id>",
  "<your-api-key>"
);

/* You can use firesquad methods after creating the instance, such as: */
fs.PostConversationItem(
  {
    internal: false,
    content: {
      message: [
        {
          type: ConversationContentMessageType.Paragraph,
          children: [{ text: "Hello, World!" }],
        },
      ],
    },
  },
  "<your-conversation-id>"
)
  /* And wait for the response */
  .then((response) => console.log(response));

FAQs

Package last updated on 17 Nov 2022

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