Skip to content

pardeep889/paxful-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Paxful API Reference

NodeJS Client Library for the Paxful API

Example Usage:

npm i paxful-nodejs

    const Paxful = require("paxful-nodejs");

    let paxful = new Paxful();
    const key = "YOUR_KEY_GOES_HERE";
    const secret = "YOUR_SECRET_GOES_HERE";
    const payload = "username=pardeep889"; // empty or null when not required :)
    const apiEndPoint = "user/info"; // this will be your API end Point
    const method = "POST";

    async function callPaxfulApi(){
        const data = await paxful.hit(apiEndPoint, key,secret,payload,method);
        console.log(data)
    }
 callPaxfulApi();

=============================================================================

To-Do:

  • I will imporove further ASAP :)

Requirements: crpyto-js and node-fetch must be installed

Forked from https://github.com/pardeep889/

Created By: Pardeep889@hotmail.com

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published