Open wolf128058 opened 1 year ago
In Case of a Wikidata-Articles the Label would be a little more interesting than that Q-Number for the Change-Alert. For example https://www.wikidata.org/wiki//Q42 has the label "Douglas Adams" in DE.
To get that label you could query https://www.wikidata.org/wiki/Special:EntityData/Q42.json for the JMESPath entities.[*][0][0].labels.de.value ... or what ever iso2alpha your bot likes.
entities.[*][0][0].labels.de.value
In Case of a Wikidata-Articles the Label would be a little more interesting than that Q-Number for the Change-Alert. For example https://www.wikidata.org/wiki//Q42 has the label "Douglas Adams" in DE.
To get that label you could query https://www.wikidata.org/wiki/Special:EntityData/Q42.json for the JMESPath
entities.[*][0][0].labels.de.value
... or what ever iso2alpha your bot likes.