Wikidata-Toolkit icon indicating copy to clipboard operation
Wikidata-Toolkit copied to clipboard

Create wrapper for wbsetclaimvalue

Open mparaz opened this issue 7 years ago • 2 comments

I would like to use wbsetclaimvalue to change values for existing statements, like what is being done with the Pywikibot tutorial: https://www.wikidata.org/wiki/Wikidata:Pywikibot_-_Python_3_Tutorial/Changing_Items

I can write the code for this. I just need some guidance where to do it. Thanks!

mparaz avatar Nov 12 '17 02:11 mparaz

Hello! You should have a look at https://github.com/Wikidata/Wikidata-Toolkit/blob/master/wdtk-examples/src/main/java/org/wikidata/wdtk/examples/EditOnlineDataExample.java#L174

Side remark: in the latest released version (0.7), the login feature is broken. It has been fixed in the master branch.

Tpt avatar Nov 12 '17 13:11 Tpt

Hi @mparaz, I have started to work on the implementation of specific API actions like wbsetclaimvalue, but it turns out to be a fairly big challenge… I need to work my way through a jungle of bureaucracy. If you are still interested in this, grab a katana and join me! 👺 :hocho:

wetneb avatar Feb 04 '18 13:02 wetneb