GithubHelp home page GithubHelp logo

coreh / zoop Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 7.0 208 KB

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

License: MIT License

TypeScript 100.00%
api api-client javascript typescript nodejs node payment payment-gateway payment-processing zoop

zoop's Introduction

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

zoop's People

Contributors

coreh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.