Topic on User talk:Magnus Manske

Problem with QuickStatements from Shell

2
Epìdosis (talkcontribs)

Hi! @Bargioni: tried to follow the instructions in https://quickstatements.toolforge.org/#/user for using Wikidata from shell. Different tests https://quickstatements.toolforge.org/#/batch/71508, https://quickstatements.toolforge.org/#/batch/71509, https://quickstatements.toolforge.org/#/batch/71510, https://quickstatements.toolforge.org/#/batch/71511, https://quickstatements.toolforge.org/#/batch/71512 went wrong ("run" with no edit when trying to add statements, "error" when trying to create new items). Could you check if this function effectively works? Thanks as always!

Bargioni (talkcontribs)

Hi, Magnus: an example. The following enters the run state without executing (https://quickstatements.toolforge.org/#/batch/71510):

$ cat test.qs

Q4115189    P214    "9876543210"

Q4115189    P214    "987678343543210"

$ curl -k https://quickstatements.toolforge.org/api.php -d action=import -d submit=1 -d username=Bargioni -d "batchname=ANOTHER BATCH TEST 2" --data-raw 'token=...MY TOKEN...' --data-urlencode data@test.qs

{"status":"OK","debug":{"format":"v1","temporary":false,"openpage":0},"batch_id":71510}

Reply to "Problem with QuickStatements from Shell"