FetchUsedLicenses()

The FetchUsedLicenses() function can be used for fetching all the licenses a user has used.

Arguments

Type

Required

Default

Username

String

True

import PyAuthGG

Admin = PyAuthGG.Administration("ADMIN API KEY")

Admin.FetchUsedLicenses("xFueY")

Success Response

{
   "Licenses":[
      {
         "token":"XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
         "rank":"0",
         "used":"1",
         "used_by":"xFueY",
         "days":"31"
      }
   ]
}

Error Response

{
   "Licenses":[
      
   ]
}

Last updated

Was this helpful?