Skip to content

Commit

Permalink
Merge pull request #112 from AN0NCER/develop
Browse files Browse the repository at this point in the history
Update Tunime api
  • Loading branch information
AN0NCER authored Jul 10, 2024
2 parents ae58357 + c37c681 commit a93aadd
Show file tree
Hide file tree
Showing 15 changed files with 333 additions and 255 deletions.
Binary file added images/black-bg-player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/magnifying-glass.png
Binary file not shown.
Binary file removed images/splashscreen.png
Binary file not shown.
14 changes: 14 additions & 0 deletions javascript/modules/ShikiAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,20 @@ export const GraphQl = {
return response;
}
}
},

user_rate: function (arg = {}, event = () => { }) {
const url = this.base_url();
const request = Fetch("POST", url, Headers.bearer());
return {
POST: async (body = []) => {
body = BodyGraphQl("userRates", arg, body);
request.setBody(body);
const response = await request.fetch();
event(response);
return response;
}
}
}
}

Expand Down
Loading

0 comments on commit a93aadd

Please sign in to comment.