uNoGS

FREEMIUM
By unogs
Updated 4 months ago
Tools
9.7/10
Popularity Score
977ms
Latency
100%
Success Rate
JustWatch3 years ago
Paginating through advanced search results doesn't workIf i want to paginate through GET https://unogs-unogs-v1.p.mashape.com/api.cgi?cl=267&st=adv&page=4 it doesn't work. The count says `2747` and i get 100 results, so it should be 27 pages of 100 items. But they are all the same, doesn't matter which page? Is that a bug?
JustWatch3 years ago
My bad, page parameter is p and not page like I thought. Thanks for catching that!
unogs3 years ago
what are you trying to search for? as the url above returns nothing... to do a search for anything in country 267 use the following api.cgi?q=-!1900,2017-!0,5-!0,10-!0-!Any-!Any-!Any-!gt100&t=ns&cl=267&st=adv&ob=Relevance&p=1&sa=and then increment your page as follows: p=1,p=2,etc e.g. api.cgi?q=-!1900,2017-!0,5-!0,10-!0-!Any-!Any-!Any-!gt100&t=ns&cl=267&st=adv&ob=Relevance&p=2&sa=and
Hi Developer, feel free to post your answer:

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