Skip to content

fuzehq/fuze-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is a simple wrapper typescript library to get started with Fuze libraries.

For more infromation about supported endpoints please refer our docs

Building the library

npm run build

Running the sample code

  1. First update src/example.ts with your API_KEY and API_SECRET.
  2. Build the code using npm run build.
  3. Now run the example node dist/example.js.

Example

import FuzeClient from "./index";

const fuzeClient = new FuzeClient({
  apiKey: "YOUR_API_KEY",
  apiSecret: "YOUR_API_SECRET",
  baseUrl: "https://dev.api.fuze.finance",
});

const main = async () => {
  const result = await fuzeClient.request(
    "/api/v1/org",
    FuzeClient.HTTP_METHOD.GET
  );
  console.log(result);
};

main();

About

Typescript wrapper for Fuze APIs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •