Skip to content
Maksim Shabunin edited this page May 24, 2017 · 2 revisions

Useful commands

Askbot: gather users with ids

CMD:

for /L %u in (1,1,100) do curl "http://answers.opencv.org/api/v1/users/?sort=recent&page=%u" >> users2.txt

Shell:

for u in seq 1 100 ; do curl "http://answers.opencv.org/api/v1/users/?sort=recent&&page=$u" ; done >> users2.txt

or

curl "http://answers.opencv.org/api/v1/users/?page=[1-100]" -o "users-#1.txt"

Discussion: https://github.com/opencv-infrastructure/answers.opencv.org/issues/33

Reference: https://askbot.org/doc/api.html

Clone this wiki locally