Skip to content
/ zoop Public

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

License

Notifications You must be signed in to change notification settings

coreh/zoop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zoop - Unofficial Client for Zoop API

🇧🇷 LEIAME em Português

About

  • Isomorphic (Browser, Node, ReactNative)
  • TypeScript type definitions

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)

License

MIT

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published