Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
/ zergpool.js Public archive

A JavaScript library for interacting with the Zergpool API

License

Notifications You must be signed in to change notification settings

LockBlock-dev/zergpool.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zergpool.js

axios

GitHub stars npm

zergpool.js is a Node.js module that allows you to easily interact with the Zergpool API.

• Promise based

• Performant

• 100% coverage of the Zergpool API

• Handles server side limit on wallet and walletEx endpoints

Installation

• Download NPM and NodeJS

With GitHub :

• Download the project or clone it

• Go to the zergpool.js folder and do npm install

• Require the index.js

With NPM :

• Download the project

• Do npm install zergpool.js

• Require the library

Documentation

See the API documentation.

Example usage

Using the library

const { Client } = require("zergpool.js")

const client = new Client()

client.status().then(data => {
    console.log(data)
})

//OR

const myFunc = async () => {
    const data = await client.status()
    console.log(data)
}

myFunc()

The library is async, be sure to use async functions or .then()

Credits

Zergpool API

Copyright

See the license

About

A JavaScript library for interacting with the Zergpool API

Topics

Resources

License

Stars

Watchers

Forks