quickstatements
quickstatements copied to clipboard
api.php doesn't work.
Hi:
I have a big (>300k) batch for SDC. I want to use QS api.php but it doesn't work to me. Not only for SDC but Wikidata too. Always get the same message:
{"status":"Problem generating OAuth signature; user '{}' needs to have submitted a batch namually at least once before","debug":{"format":"v1","temporary":false,"openpage":0},"site":"wikidata"}
I have lot of Wikidata editions (see my batches) and I my token configured.
I'm invoking the api as this:
curl https://quickstatements.toolforge.org/api.php \
-d action=import \
-d submit=1 \
-d username=Olea \
-d format=v1 \
-d "batchname=test" \
-d site=wikidata \
--data-raw 'token=TOKENTOKENTOKEN.' \
--data-urlencode [email protected]
I don't know if I'm missing something or there is a bug. I've been asking for other people using the api and got no answer. Is it deprecated maybe?
Thx.