uNoGS

ÜCRETSİZ PREMIUM
Verified
Taraf Admin | Güncelleyen 25日前 | Entertainment
Popülerlik

9.8 / 10

Gecikme

930ms

Hizmet Düzeyi

99%

Health Check

N/A

Tüm Tartışmalara Dön

curl got 0 elements

Rapid account: Behinder
Behinder
7年前

I am doing this in terminal:
curl --get --include ‘https://unogs-unogs-v1.p.mashape.com/aaapi.cgi?q={query}-!1900,2017-!0,5-!0,10-!0-!Movie-!Any-!Any-!gt0-!{downloadable}&t=ns&cl=392&st=adv&ob=Relevance&p=2&sa=and’
-H ‘X-Mashape-Key:’
-H 'Accept: application/json’
i want page 2 of the results and instead i got 0. the query string is copied from documentation

Rapid account: Unogs
unogs Commented 7年前

closing as query is resolved

Rapid account: Behinder
Behinder Commented 7年前

Thank you! 😃

Rapid account: Unogs
unogs Commented 7年前

this should do it:

api.cgi?q=-!1900,2017-!0,5-!0,10-!0-!Any-!Any-!Any-!-!&t=ns&cl=392&st=adv&ob=Relevance&p=2&sa=and

Just increment the ‘p’ value e.g. p=1,p=2,p=3

Rapid account: Behinder
Behinder Commented 7年前

I need to fetch all the titles in polish netflix, but there are page pased so i need to iterate and do some approx 20 queries like above.
downloable parameter to be blank and query to be blank 😃

Rapid account: Unogs
unogs Commented 7年前

Let me know what you are trying to do and I will help you with the query…

I really need to re-write the endpoint to make it more user friendly, hopefully this year.

Rapid account: Behinder
Behinder Commented 7年前

Ups…what a mistake…I deleted the key.
The thing is such query when tested on UNOGS page works 😃

Rapid account: Unogs
unogs Commented 7年前

closing this ticket to bury it

Rapid account: Unogs
unogs Commented 7年前

Thanks Maft!

Behinder, please delete the key from your comment!

Also, you can leave query blank as well to dump everything… (just remove {query})

Rapid account: Ma Ft
MaFt Commented 7年前

Don’t share your API key in public!!!

I could use that now if I wanted to…

Anyway: {downloadable} needs to be ‘yes’, ‘no’ or left blank
{query} needs to be a search string

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun