Add user details and stats to API

This commit is contained in:
JonnyWong16 2016-05-26 19:25:14 -07:00
parent 61ead15c38
commit 77bd52b2ae
3 changed files with 223 additions and 6 deletions

View file

@ -383,7 +383,7 @@ DOCUMENTATION :: END
// Populate watch time stats
$.ajax({
url: 'get_user_watch_time_stats',
url: 'user_watch_time_stats',
async: true,
data: { user_id: user_id, user: username },
complete: function(xhr, status) {
@ -393,7 +393,7 @@ DOCUMENTATION :: END
// Populate platform stats
$.ajax({
url: 'get_user_player_stats',
url: 'user_player_stats',
async: true,
data: { user_id: user_id, user: username },
complete: function(xhr, status) {