0.1.3 • Published 5 years ago

zoop-integration v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

zoop - Unofficial Client for Zoop API

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 zoop-integration

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

This project is an update and addition of some zoop endpoints.

Everyone credits the original idea https://github.com/coreh/zoop

License

MIT

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago