SkillAgentSearch skills...

Zoop

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

Install / Use

/learn @coreh/Zoop

README

zoop - Unofficial Client for Zoop API

<p align="center"> 🇧🇷 <a href="LEIAME.md">LEIAME em Português</a> <br><br> <a href="https://www.npmjs.com/package/@coreh/zoop"><img src="https://img.shields.io/npm/v/@coreh/zoop.svg"></a> <a href="LICENSE"><img src="https://img.shields.io/npm/l/@coreh/zoop.svg"></a> <a href="https://travis-ci.org/coreh/zoop/"><img src="https://img.shields.io/travis/coreh/zoop.svg"></a> <a href="https://coveralls.io/github/coreh/zoop"><img src="https://img.shields.io/coveralls/github/coreh/zoop.svg"></a> <a href="https://david-dm.org/coreh/zoop"><img src="https://img.shields.io/david/coreh/zoop.svg"></a> </p>

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

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated4y ago
Forks6

Languages

TypeScript

Security Score

80/100

Audited on Sep 17, 2021

No findings