From 696af16467c304e88a09c15e43a0264e44ee9022 Mon Sep 17 00:00:00 2001 From: Adam Chance Date: Wed, 19 Oct 2022 13:48:10 +0100 Subject: [PATCH] Update URL of public instance --- package.json | 2 +- readme.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index bfdeeda..b1c6ce0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiv-character-cards", - "description": "API to create fancy cards for FFXIV characters based on their Lodestone data, hosted at https://ffxiv-character-cards.herokuapp.com.", + "description": "API to create fancy cards for FFXIV characters based on their Lodestone data, hosted at https://xiv-character-cards.drakon.cloud.", "version": "1.5.0", "main": "create-card.js", "repository": "https://github.com/xivapi/XIV-Character-Cards.git", diff --git a/readme.md b/readme.md index d816662..56b788f 100644 --- a/readme.md +++ b/readme.md @@ -3,23 +3,23 @@ ![npm Version](https://img.shields.io/npm/v/xiv-character-cards) [![Documentation](https://img.shields.io/badge/docs-JSDoc-orange)](https://xivapi.github.io/XIV-Character-Cards/) -Library and API to create fancy cards for FFXIV characters based on their Lodestone data, powered by [xivapi.com](https://xivapi.com/) and hosted at [https://ffxiv-character-cards.herokuapp.com](https://ffxiv-character-cards.herokuapp.com). +Library and API to create fancy cards for FFXIV characters based on their Lodestone data, powered by [xivapi.com](https://xivapi.com/) and hosted at [https://xiv-character-cards.drakon.cloud](https://xiv-character-cards.drakon.cloud). -![Demo image](https://ffxiv-character-cards.herokuapp.com/characters/id/9575452.png) +![Demo image](https://xiv-character-cards.drakon.cloud/characters/id/9575452.png) ## API All API calls support the `lang` query parameter to create a character card with information in the specified language. The supported languages are the same as [xivapi.com](https://xivapi.com/docs/Common-Features#language), which are English (en), Japanese (ja), German (de) and French (fr). -E.g. a request for a german character card would look like this: ``https://ffxiv-character-cards.herokuapp.com/characters/id/.png?lang=de`` +E.g. a request for a german character card would look like this: ``https://xiv-character-cards.drakon.cloud/characters/id/.png?lang=de`` ### Getting a card for a character by its Lodestone ID -``GET https://ffxiv-character-cards.herokuapp.com/characters/id/.png`` +``GET https://xiv-character-cards.drakon.cloud/characters/id/.png`` ### Getting card for a character by its world and name -``GET https://ffxiv-character-cards.herokuapp.com/characters/name//.png`` +``GET https://xiv-character-cards.drakon.cloud/characters/name//.png``
**Note:** This is considerably slower than the creation by ID, since the character has to be looked up in the Lodestone first.
@@ -29,11 +29,11 @@ If you are using this API together with an application that requires the API to ### Requesting a card to be cached for a character by its Lodestone ID -``GET https://ffxiv-character-cards.herokuapp.com/prepare/id/`` +``GET https://xiv-character-cards.drakon.cloud/prepare/id/`` ### Requesting a card to be cached for a character by its world and name -``GET https://ffxiv-character-cards.herokuapp.com/prepare/name//`` +``GET https://xiv-character-cards.drakon.cloud/prepare/name//`` ## Library