open-index/open-npm huggingface dataset:
npm package: @flywheel-io/sdk
Description: OpenAPI client for @flywheel-io/sdk
Author: OpenAPI-Generator
Latest version: 0.1.1

@flywheel-io/sdk
================

JavaScript SDK for the Flywheel platform API, supporting Node.js and browser environments, with type definitions

Getting Started
---------------

This library's primary export is the Client, which can engage with all the APIs in the Flywheel platform. The Client instance requires an API key, which can be generated on the user profile page (e.g. https://dev.flywheel.io/#/profile). Pass this as the first argument when instantiating the client or API classes. See the Classes list below for available APIs.

Node.js
```ts
const { Client } = require('@flywheel-io/sdk');

const fw = new Client('dev.flywheel.io:7Almr6Y0ssVwYJKrG2');
fw.projects.getAllProjects({}).subscribe(projects => {
  console.dir(projects);
});
```

Browser
```html
<script src="https://cdn.flywheel.io/sdk/platform/flywheel-sdk-0.1.1.min.js"></script>
<script>
  const fw = new Flywheel.Client('dev.flywheel.io:7Almr6Y0ssVwYJKrG2');
  fw.projects.getAllProjects({}).subscribe(projects => {
    console.dir(projects);
  });
</script>
```