API for user score.

Home Forums Legacy Support Support queries How-to & Troubleshooting API for user score.

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #172301
    vfolgosa
    Participant
    Can I get a student's score(marks) for a course through the REST API?
    #172341
    Anshuman Sahu
    Keymaster
    Well there is not any direct method but you can this api call that we are using to build the graphs : http://your-site.com/wp-json/wplms/v1/user/chart/course   This hit will include a Authorization : token_value in headers . refer : http://prntscr.com/kicff8  its return will be : { "labels": [ "Course 1" ], "data": [ 100 ] } The token sent in headers is user specific .user id identified by this token  ,   to get token refer api docs : https://vibethemes.github.io/wplms-docs/developer-guide.html#main-enpoints
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘API for user score.’ is closed to new replies.