Share Code Object

A Share Code Object is an object returned from the API which contains information about a share code. The details about what data it provides is listed below.

Returned Data (Represented by $object)

NameTypeDescription
$object->codestringThe 8 character share code
$object->packstringThe name of the pack this share code is for
$object->versionstringThe version of the pack this share code is for
$object->usedintThe number of times this share code has been used
$object->modsarrayAn array of [[api:share_code_mod_objectShare Code Mod Object]] type of all the optional mod's selected