Hi folks, happy new year!
Every time I use pwb for Wikidata I miss the high level APIs that are available in Lua in my language, things like: getBestValue, getValueAtTimestamp (for example the name of a country in 1920), getChainedValue (walking through the properties graph) etc.
Is not having such APIs an explicit design decision or it's just that nobody got around to implementing them in the library? Are there other people interested in such APIs? I can contribute some of them from my scripts.
Best, Strainu
Hi Strainu, this would be very useful, yes. I began to write https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/huwiki/wikidata.py as part of huwiki package, and create methods that are important for me. I would appreciate more of them.
Strainu strainu10@gmail.com ezt írta (időpont: 2025. jan. 3., P, 12:05):
Hi folks, happy new year!
Every time I use pwb for Wikidata I miss the high level APIs that are available in Lua in my language, things like: getBestValue, getValueAtTimestamp (for example the name of a country in 1920), getChainedValue (walking through the properties graph) etc.
Is not having such APIs an explicit design decision or it's just that nobody got around to implementing them in the library? Are there other people interested in such APIs? I can contribute some of them from my scripts.
Best, Strainu _______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/me... To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org