0.0.5 • Published 2 years ago
playfab-promise v0.0.5
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)
}