playfab-promise
v0.0.5
Published
simple wrapper promise for used playFab node SDK
Downloads
3
Readme
Playfab Promise
Simple and small wrapper for promise PlayFabSDK
Behind Project
help intergrate playfab with clean structure with await promise
Installation
yarn install playfab-promise
Usage
import { PlayFabAdmin } from 'playfab-sdk';
const PlayFabPromise = require("playfab-promise")
try {
const catalogItems = await PlayFabPromise(PlayFabAdmin.GetCatalogItems, { CatalogVersion: 'v1' });
console.log(catalogItems)
} catch(e) {
console.log(e)
}