Skip to content

Feature: Add link Property for Character from tibia.com Website #381

@Skyliife

Description

@Skyliife

An enhancement to the current character data structure to include a link property that provides the URL to the character's profile on tibia.com. This would be useful for directly accessing the character's profile on the official website.

Proposed Change:

  1. Add a link property to the character object, which should contain the URL to the character's profile on tibia.com.
  2. The URL should replace spaces in the character's name with "+" to match the URL format used by tibia.com. e.g. character
    Atom Ironman => Atom+Ironman

Example:

The updated structure for the character object should look like this:

"character": {
      "account_status": "string",
      "achievement_points": 0,
      "comment": "string",
      "deletion_date": "string",
      "former_names": [
        "string"
      ],
      "former_worlds": [
        "string"
      ],
      "guild": {
        "name": "string",
        "rank": "string"
      },
      "houses": [
        {
          "houseid": 0,
          "name": "string",
          "paid": "string",
          "town": "string"
        }
      ],
      "last_login": "string",
      "level": 0,
      "married_to": "string",
      "name": "string",
      "position": "string",
      "residence": "string",
      "sex": "string",
      "title": "string",
      "traded": false,
      "unlocked_titles": 0,
      "vocation": "string",
      "world": "string",
      //new link property
      "link": "https://www.tibia.com/community/?name=Trollefar"
    },

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions