Skip to content

Everything you may need for Flamingo Finance's Dashboard-ATHON.

Notifications You must be signed in to change notification settings

roschler/flamingo-dashboard-athon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flamingo-dashboard-athon

Introduction

This repo is a collection of resources you may find useful while participating in Flamingo Finance's 1,000+ GAS Dashboard-ATHON.

Folder structure

  • assets: images and svgs to make your creation beautiful
  • data: core data for pools and tokens on Flamingo Finance (MainNet data)
  • js: javascript files to speed up your development

API js client

The file "api-client.js" in the js folder contains a javascript ECMA 2020 class built with the hardcoded URL of the API with all the endpoints ready to be used and integrated into your code.

How to use it

Install axios:

npm install axios

Use the client:

// Import the client class
import ApiClient from './js/api-client';

// Create the client with a custom url or leave blank to use default one (https://neo-api.b-cdn.net)
const client = new ApiClient();

// Use it to retrieve data
const data = await client.getFlamingoLivedataPricesLatest();

API docs

To create something awesome you need data. Go to https://neo-api.b-cdn.net/docs#/ to explore all the available endpoints.

Useful links

About

Everything you may need for Flamingo Finance's Dashboard-ATHON.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%