~mvo/software-center/apt-url-multiarch-support

« back to all changes in this revision

Viewing changes to README.debug-server

  • Committer: Michael Vogt
  • Date: 2012-11-27 14:39:23 UTC
  • Revision ID: michael.vogt@ubuntu.com-20121127143923-zl8vx8tgxs297g5n
README.debug-server: trivial example for RatingsAndReviewsAPI

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
   --output=text --debug \
22
22
   SoftwareCenterRecommenderAPI recommend_top
23
23
 
 
24
$ PYTHONPATH=. utils/piston-helpers/piston_generic_helper.py \
 
25
  --output=json  --needs-auth \
 
26
  RatingsAndReviewsAPI submit_usefulness \
 
27
  '{ "review_id": 4468, "useful": "True" }'
24
28
 
25
29
Any piston-mini-client API should work, first name is the class
26
30
second the method to run, optional is a json encoded kwargs string.