From b8da25049b2fcdeba8c6d86a82388b9573e9bdb8 Mon Sep 17 00:00:00 2001 From: Documentation Date: Mon, 17 Oct 2022 22:18:59 +0000 Subject: [PATCH] Updates --- CardCreator.html | 2 +- create-card.js.html | 2 +- index.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CardCreator.html b/CardCreator.html index 6cc9092..5203c80 100644 --- a/CardCreator.html +++ b/CardCreator.html @@ -841,7 +841,7 @@ generation methods.
diff --git a/create-card.js.html b/create-card.js.html index 9f947c2..d6d0fcc 100644 --- a/create-card.js.html +++ b/create-card.js.html @@ -659,7 +659,7 @@ exports.CardCreator = CardCreator;
diff --git a/index.html b/index.html index 2103d26..92bd4db 100644 --- a/index.html +++ b/index.html @@ -72,7 +72,7 @@ npm i xiv-character-cards

You can then instantiate the class CardCreator from the library, call the asynchronous insureInit() function to make sure all resources are loaded and then use the asynchronous createCard() function with your characters Lodestone ID. You will receive a promise that resolves to a Buffer of the PNG image of your card, that you can use in your bot or application.

Check the library documentation for more details.

-

Note: The API server is not published as an NPM package, so if you want to host it yourself, clone the Github repository and put the Express.JS webserver defined in the index.js file behind a reverse proxy.

+

Note: The API server is not published as an NPM package, so if you want to host it yourself, clone the Github repository and put the Express.JS webserver defined in the server.js file behind a reverse proxy.

Library example

const { CardCreator } = require("xiv-character-cards");
@@ -111,7 +111,7 @@ example()
 
- Documentation generated by JSDoc 3.6.11 on Mon Oct 17 2022 22:07:10 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.11 on Mon Oct 17 2022 22:18:58 GMT+0000 (Coordinated Universal Time)