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
andawait
(ES2016) andfor await
(ES2018) syntax.
Installing
npm install zoop-integration
Usage
; // Create API Clientconst zoop = API_KEY; // Marketplace Endpointconst marketplace = zoop; // Buyer Endpointconst buyer = marketplace; // Retrieve Buyer Info (async)const buyerInfo = await buyer; // List Buyers (async iterator)for await const buyerInfo of marketplace // ...
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