Function requestItem

  • Parameters

    • qid: string

      The ID of the entity.

    • Optionalconfig: RequestConfig

      The config object.

    Returns Promise<Item>

    The promise of a Wikidata Item.

    const item = requestItem('Q42');