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

@robotevents/client

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robotevents/client

A Robot Events API client.

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@robotevents/client

A Robot Events API client.

Installing

Node.js 16.0.0 or newer is required.

npm install @robotevents/client
yarn add @robotevents/client
pnpm add @robotevents/client

Example usage

Obtain a team from the Robot Events API:

import {ProgramId, RobotEventsClient} from '@robotevents/client';

const robotEventsClient = new RobotEventsClient({
  token: process.env.ROBOT_EVENTS_TOKEN,
});

const teams = await robotEventsClient.teams
  .findAll(_ => _.programIds(ProgramId.VRC).numbers('24C'))
  .toArray();

if (teams.length) {
  console.log(teams[0]);
} else {
  console.log('Team not found');
}

Keywords

FAQs

Package last updated on 18 May 2023

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