Home
Softono

Zoop

Open source MIT TypeScript
11
Stars
6
Forks
0
Issues
1
Watchers
8 years
Last Commit

 About Zoop

💳 Unofficial JavaScript client for Zoop API / Cliente JavaScript Não-oficial para API Zoop

Platforms

Web Self-hosted

Languages

TypeScript

Links

Need Help Installing Zoop?

We provide expert installation service for this software. Our team will install, configure, and secure Zoop on your server. plans start at just $30.

zoop - Unofficial Client for Zoop API

🇧🇷 LEIAME em Português

About

  • Isomorphic: Compatible with Browser, Node.JS and React Native environments
  • Written in TypeScript: So you get type checking and autocomplete for all API Endpoints and parameters
  • Promises / Async Iterables based: So you can use async and await (ES2016) and for await (ES2018) syntax.

Installing

npm install @coreh/zoop

Usage

import Zoop from '@coreh/zoop';

// Create API Client
const zoop = new Zoop(API_KEY);

// Marketplace Endpoint
const marketplace = zoop.marketplace(MARKETPLACE_ID);

// Buyer Endpoint
const buyer = marketplace.buyer(BUYER_ID);

// Retrieve Buyer Info (async)
const buyerInfo = await buyer.get();

// List Buyers (async iterator)
for await (const buyerInfo of marketplace.listBuyers()) {
    // ...
}

Implemented Endpoints

  • Marketplace
    • Retrieve
  • Buyer
    • Create
    • Retrieve
    • List
  • Transaction
    • Create
    • Retrieve
    • List
  • Seller
    • Create
    • Retrieve
    • List
  • Token
    • Create Card Token
    • Create Bank Account Token
    • Retrieve

License

MIT