Socket
Book a DemoInstallSign in
Socket

@swing.xyz/platform-api

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swing.xyz/platform-api

- [Developer Docs](https://developers.swing.xyz/) - https://developers.swing.xyz/

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
2
Created
Source

Swing Platform API

  • Developer Docs - https://developers.swing.xyz/

Getting Started

yarn add @swing.xyz/platform-api

Usage

import { getSwingPlatformAPI } from "@swing.xyz/platform-api";

const swingPlatformAPI = getSwingPlatformAPI({
  /**
   * Optionally configure the Platform API environment.
   * environment: "production",
   *
   * Optionally override the Platform API URL
   * baseUrl: "https://platform.swing.xyz",
   *
   * Optional add default headers
   * headers: {},
   */
});

const projectConfig = swingPlatformAPI.GET("/projects/{projectId}/config", {
  params: {
    path: {
      projectId: "swing-project-identifier",
    },
  },
});

FAQs

Package last updated on 06 Jun 2025

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