By unogs
Updated 10 hours ago
Popularity Score
Success Rate
dablasit5 months ago
How to correctly display the characters in the response?When I verify the encoding of the response it says "ISO-8859-1" and the characters are not encoded. How do I take the response (as binary, text or json) and decode/encode it so that it displays correctly? I'm sorry if the question seems silly, but I've been searching for a fix to no avail and regular decode/encode methods in Python are not working for me.
dablasit5 months ago
"!1900,2019-!0,5-!0,10-!0-!Movie-!Any-!Any-!{downloadable}&t=ns&cl=65&st=adv&ob=Relevance&p=1&sa=and" For example that one. I have to accept that I'm doing the requests using the requests package in python, and I'm using google colab notebooks to make the calls. So if I make the above request, the response.json() or response.text or response.content gives me the string with stuff like apostrophes ('), chinese characters, etc.. not correctly decoded. In that request, there's a korean movie in the first 4 titles, and the title displays a bunch of non-sense instead of the korean characters.
unogs5 months ago
can you give an example of a call that isn't working for you? Our website as well as a few hundred api i users don't seem to be having any issues.
Hi Developer, feel free to post your answer:

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Host", "")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication