mightstone Logo
latest

Users

  • Installation
  • Command Line Interface
  • Configuration
  • Persistence
  • Card Generation
  • Async and Sync API

Reference

  • API Reference
    • EDHREC
    • Scryfall
    • MTGJSON
    • Card Conjurer
    • Wizards Of The Coast
    • Fandom Wiki
      • Wiki Client
      • Wiki Parser
      • Models
        • mightstone.services.wiki.models.WikiElement
        • mightstone.services.wiki.models.WikiPage
        • mightstone.services.wiki.models.SerializableWikiPage
        • mightstone.services.wiki.models.WikiTextStyle
        • mightstone.services.wiki.models.WikiListStyle
        • mightstone.services.wiki.models.WikiListItemStyle
        • mightstone.services.wiki.models.WikiString
        • mightstone.services.wiki.models.WikiStyledText
        • mightstone.services.wiki.models.WikiLink
        • mightstone.services.wiki.models.WikiRevision
        • mightstone.services.wiki.models.WikiTemplate
        • mightstone.services.wiki.models.WikiFlow
        • mightstone.services.wiki.models.WikiParagraph
        • mightstone.services.wiki.models.WikiTitle
        • mightstone.services.wiki.models.WikiListBullet
        • mightstone.services.wiki.models.WikiListItem
        • mightstone.services.wiki.models.WikiList
        • mightstone.services.wiki.models.WikiHtml
  • CHANGELOG
mightstone
  • API Reference
  • mightstone.services.wiki.models.WikiLink
  • Edit on GitHub

mightstone.services.wiki.models.WikiLink

pydantic model mightstone.services.wiki.models.WikiLink

Representation of a WikiLink

Show JSON schema
{
   "title": "WikiLink",
   "description": "Representation of a WikiLink",
   "type": "object",
   "properties": {
      "text": {
         "title": "Text",
         "type": "string"
      },
      "url": {
         "title": "Url",
         "type": "string"
      }
   },
   "required": [
      "text",
      "url"
   ]
}

Fields:
  • text (str)

  • url (str)

field text: str [Required]
field url: str [Required]
as_html() → str
as_text() → str
as_wiki() → str
Previous Next

© Copyright 2022, Guillaume Boddaert. Revision 17e2860c.

Built with Sphinx using a theme provided by Read the Docs.