RapidAPI logo

uNoGS

FREEMIUM
By unogs
Updated 4 months ago
Tools
9.7/10
Popularity Score
850ms
Latency
100%
Success Rate
dablasit3 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.
dablasit3 months ago
"https://unogs-unogs-v1.p.rapidapi.com/aaapi.cgi?q=-!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.
unogs3 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:
Log inSign up

Install SDK for NodeJS

Installing

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

unirest.get("https://unogs-unogs-v1.p.rapidapi.com/aaapi.cgi")
.header("X-RapidAPI-Host", "unogs-unogs-v1.p.rapidapi.com")
.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