Skip to content

fridge-cms/fridge_api.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.