Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 945 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 945 Bytes

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 [email protected]

Please refer to the v1.0.1 README for details.