Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nitroflare checking via api
#1
Hi Mental,
Is it possible to use API checking for nitroflare then direct checking via page? I found this API information inside user panel and does not require any key for access. It can also tell whether file is set to premium only or not however I have find that information to be inconsistent.


getFileInfo


Quote:
Description:
Returns information about a file or multiple files.
Quote:
Request Parameters:
Name
Quote:Descriptionfiles
Up to 100 file IDs separated by commas. (e.g. "276AF587369E929, EEC05BA63F034D7" or "276AF587369E929")


Example
Request

Code:
https://nitroflare.com/api/v2/getFileInfo?files=3CB8F8AE25CF218
Quote:
Response
{
  "type": "success",
  "result": {
    "files": {
      "3CB8F8AE25CF218": {
        "status": "offline", // online|offline
        "name": "API.txt",
        "size": "2", // In bytes
        "uploadDate": "2014-07-14 16:51:15",
        "url": "https://nitroflare.com/view/3CB8F8AE25CF218/API.txt",
        "premiumOnly": false // Is the file available for premium users only?
      }
    }
  }
}
Reply
#2
I am not good at API, my friend that helped me with that no longer works on scripts.
It's about as good as i can make it but I made a couple changes maybe that will be better.
Reply
#3
No problem mental. I have integrated it with the script. although I am using old version of W.A.R, by dkitty. If you would like I will be happy to share the code with you. Anyway thanks a lot.
Reply
#4
Thanks, I would appreciate it.

I am slowly learning to use API but not much time to do it, I can put it in the script and see how it works
Reply
#5
(02-08-2023, 12:18 AM)mental Wrote: Thanks, I would appreciate it.

I am slowly learning to use API but not much time to do it, I can put it in the script and see how it works
here
Code:
https://greasyfork.org/en/scripts/458704
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)