New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

onesky-api-wrapper

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

onesky-api-wrapper

A fully typed wrapper for the OneSky API.

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Onesky API Wrapper

Fully typed wrapper for the OneSky API for easy access and management of translation files.

The implementation follows the official documentation for the API, such that each controller description in the documentation has a corresponding class, that implements it. The official documentation can be found at: https://github.com/onesky/api-documentation-platform

Usage

const fileApi = new FileApi({
  apiKey: '',
  secret: ''
});

// List files from OneSky:
const files = await fileApi.listFiles({projectId: 'someId', params: {}})

const projectApi = new ProjectApi({
  apiKey: '',
  secret: ''
});

// Create a new project:
projectApi.createProject({projectGroupId: 'someId', params: {}});

Know issues

  • Implementation of the upload file API.
  • Queryparameters of type boolean are now handled as strings.
  • Test

Keywords

onesky

FAQs

Package last updated on 08 Dec 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