/fridge_api.js

Fridge API client for JavaScript

Primary LanguageTypeScript

Fridge API Client

Official JavaScript client for interacting with the Fridge API.

Usage

Add fridge to your package.json.

$ npm install fridge

Still using the v1 API?

Init the client with your API token.

import Fridge from "fridge";

const fridge = Fridge.client({ token: "xxxxxxxxxxxx" });

Refer to the Fridge API Documentation for a complete API reference and usage examples.

Usage in browser

<script src="https://unpkg.com/fridge/dist/fridge.min.js"></script>

V1 API

If you are still running on the v1 Fridge API

$ npm install fridge@1.0.1

Please refer to the v1.0.1 README for details.