Skip to content

This is npm package which will provide dummy data when GET request is made.

Notifications You must be signed in to change notification settings

AK46rocks/dummy-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dapplooker-sdk

Programmatic access to the most reliable & comprehensive blockchain data in Web3.

Integrate your DappLooker SDK and get popular charts data

Installation

1. Install the SDK:

npm install @dapplooker/sdk

2. Generate API key:

  • Create an account on the DappLooker website.
  • After Signup, Go to the API keys page.
  • Click "Create API key".
  • Give your API key a name and Click "Generate".
  • Now Copy your API Key. Screenshot from 2023-06-26 15-58-37

3. Get Your Chart UUID

  • Go to DappLooker Analytics Website

  • Create a new Chart or Open a Existing Created Chart chartAPI-1

  • Click "API" Button

  • Get the UUID of your chart from the chart API Endpoint chartAPI-2 (1)

4. Import the SDK

Once you have imported the SDK, you can create a DapplookerSDK instance and make API calls using the API key and chart UUID that you obtained in the previous steps.

#Example

//Javascript
const DappLookerSDK = require("@dapplooker/sdk");

const getData = async () => {
  let id = "dc9b69d8-7ca1-45d4-8ad0-a17f915f3f0"; // example chart UUID
  let key = "qzusb5p3q246ip246ab6g0p8ppzb7u"; // example API key that you generated

  let response = await DappLookerSDK.chartAPIData(id, key);
  console.log("chart api data:- ", response?.data);
};

getData();

Typescript support is also available

//Typescript
import { DappLookerSDK } from "@dapplooker/sdk";

About

This is npm package which will provide dummy data when GET request is made.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published