cl modio
1.0.0A client library for the mod.io API.
About cl-modio
This is a client library to interact with the mod.io platform to manage "mods" or extensions for games and other applications. It covers the full v1 API and includes convenience methods to make interacting with the API as well as syncing mods and so on easy.
How To
Before you can get started you must register an account on mod.io and create your game. Navigate to its admin page, and select the API KEY
category. Copy the key out and create a new client
instance with it:
(setf modio:*client* (make-instance 'modio:client :api-key "...."))
Most relevant API endpoints will be available without authentication, but anything that needs to edit, delete, or create new objects in the very least will require an authenticated client. Mod.io offers a multitude of authentication methods, depending on the platform you're connected to.
For basic email auth, you can always proceed like this:
(modio:authenticate/email-request T "user@example.com")
(modio:authenticate/email-exchange T "----")
Once completed, you can persist the authentication data somewhere via extract-user-properties
and later restore them via restore-user-properties
. Note that the authentication key will automatically expire (see valid-until
) at which point you will have to repeat the authentication.
From there you can use any of the API endpoints to read out data and update it. All return objects are automatically converted into objects for your convenience. You can simply use the various accessors and describe
to poke around.
System Information
Definition Index
-
ORG.SHIRAKUMO.FRAF.MODIO
No documentation provided.-
EXTERNAL SPECIAL-VARIABLE *BASE-URL*
Holds the base URL API requests are made against. Defaults to https://api.mod.io/v1/
-
EXTERNAL SPECIAL-VARIABLE *CLIENT*
Holds the current CLIENT instance. See CLIENT (type)
-
EXTERNAL SPECIAL-VARIABLE *DEBUG*
If T, request information is printed to *debug-io* See CL:*DEBUG-IO*
-
EXTERNAL SPECIAL-VARIABLE *PORTAL*
Variable holding the current portal. Should be one of: :Apple :Discord :EGS :Facebook :GOG :Google :Itchio :Nintendo :OpenID :PSN :Steam :XboxLive If NIL, the portal is auto-detected instead. See DETECT-PORTAL
-
EXTERNAL CLASS CLIENT
Representation of a mod.io API client. You should instantiate this with the correct API-KEY. See *CLIENT* See API-KEY See ACCESS-TOKEN See LANGUAGE See PLATFORM See PORTAL See WAIT-UNTIL See VALID-UNTIL See ON-RATE-LIMIT See CACHE See DEFAULT-GAME-ID See REQUEST See REQUEST-LIST See EXTRACT-USER-PROPERTIES See RESTORE-USER-PROPERTIES
-
EXTERNAL CLASS COMMENT
Represents a comment on a mod. See UNIQUE-RESOURCE (type) See MOD-RESOURCE (type) See USER See DATE-ADDED See REPLY-ID See THREAD-POSITION See KARMA See CONTENT See REPLY
-
EXTERNAL CLASS DOWNLOAD
Representation of a download. See BINARY-URL See DATE-EXPIRES
-
EXTERNAL CLASS GAME
Represents a game on the moddb registry. See NAMED-RESOURCE (type) See UNIQUE-RESOURCE (type)
-
EXTERNAL CLASS GAME-RESOURCE
Base class for any object that is a child of a game. See GAME-ID
-
EXTERNAL CLASS GAME-STATS
Represents statistics about a game. See GAME-RESOURCE (type) See MODS See DOWNLOADS See SUBSCRIBERS See DATE-EXPIRES
-
EXTERNAL CLASS GAME-TAG-OPTION
-
EXTERNAL CLASS IMAGE
Representation of an image object. See FILENAME See ORIGINAL See THUMBNAILS
-
EXTERNAL CLASS MOD
Representation of a game mod. See NAMED-RESOURCE (type) See UNIQUE-RESOURCE (type) See GAME-RESOURCE (type) See STATUS See VISIBLE See SUBMITTED-BY See DATE-ADDED See DATE-UPDATED See DATE-LIVE See MATURITY See LOGO See HOMEPAGE-URL See SUMMARY See DESCRIPTION See DESCRIPTION-HTML See MODFILE See METADATA-BLOB See PROFILE-URL See MEDIA See STATS See METADATA See TAGS
-
EXTERNAL CLASS MOD-DEPENDENCY
Represents a dependency of a mod on another. See NAMED-RESOURCE (type) See MOD-RESOURCE (type) See DATE-ADDED
-
EXTERNAL CLASS MOD-EVENT
Represents a change event on a mod. See UNIQUE-RESOURCE (type) See MOD-RESOURCE (type) See USER-RESOURCE (type) See DATE-ADDED See EVENT-TYPE
-
EXTERNAL CLASS MOD-MEDIA
Representation of media associated with a mod. See YOUTUBE-URLS See SKETCHFAB-URLS See IMAGES
-
EXTERNAL CLASS MOD-RESOURCE
-
EXTERNAL CLASS MOD-STATS
Representation of the statistics about a mod. See MOD-RESOURCE (type) See DATE-EXPIRES See POPULARITY See DOWNLOADS See SUBSCRIBERS See RATING
-
EXTERNAL CLASS MOD-TAG
Representation of a tag on a mod. See NAMED-RESOURCE (type) See DATE-ADDED
-
EXTERNAL CLASS MODFILE
Representation of a mod's payload. See UNIQUE-RESOURCE (type) See MOD-RESOURCE (type) See DATE-ADDED See DATE-SCANNED See VIRUS-STATUS See VIRUS-POSITIVE See VIRUS-HASH See FILE-SIZE See FILE-HASH See FILE-NAME See VERSION See CHANGELOG See METADATA-BLOB See DOWNLOAD
-
EXTERNAL CLASS NAMED-RESOURCE
-
EXTERNAL CLASS RATING
Representation of a rating on a game or mod. See MOD-RESOURCE (type) See GAME-RESOURCE (type) See RATING See DATE-ADDED
-
EXTERNAL CLASS SIMPLE-CLIENT
Client that implements a simplified interface for mod management. You must supply a DEFAULT-GAME-ID and MODS-DIRECTORY. See CLIENT (type) See MODS-DIRECTORY See MODLIST-FILE See MODFILE-CACHE-DIRECTORY See MOD-DIRECTORY See LOAD-LOCAL-MODLIST See WRITE-LOCAL-MODLIST See LOAD-REMOTE-MODLIST See DOWNLOAD-MODFILE See EXTRACT-MODFILE See FIND-MODFILE See SYNC-MODLIST-FROM-REMOTE See SYNC-MODLIST-TO-REMOTE See UPDATE-LOCAL-MODS See DETERMINE-MOD-PROPERTIES
-
EXTERNAL CLASS TEAM-MEMBER
Representation of a team member. See UNIQUE-RESOURCE (type) See USER See LEVEL See DATE-ADDED See TITLE See INVITE
-
EXTERNAL CLASS UNIQUE-RESOURCE
Base class for any object that has a unique ID. See ID
-
EXTERNAL CLASS USER
Represents a user. See NAMED-RESOURCE (type) See UNIQUE-RESOURCE (type) See DISPLAY-NAME See LAST-ONLINE See AVATAR See PROFILE-URL
-
EXTERNAL CLASS USER-EVENT
Represents a change event on a user. See UNIQUE-RESOURCE (type) See MOD-RESOURCE (type) See GAME-RESOURCE (type) See USER-RESOURCE (type) See DATE-ADDED See EVENT-TYPE
-
EXTERNAL CLASS USER-RESOURCE
Base class for any object that is a child of a user. See USER-ID
-
EXTERNAL CONDITION ACCOUNT-BANNED
Error signalled when interacting from a banned account. See PERMISSION-DENIED
-
EXTERNAL CONDITION ACCOUNT-DELETED
Error signalled when interacting from a deleted account. See PERMISSION-DENIED
-
EXTERNAL CONDITION BAD-REQUEST
Error signalled on a malformed request. See REQUEST-ERROR
-
EXTERNAL CONDITION COMMENT-NOT-FOUND
Error signalled when interacting with a comment that doesn't exist. See RESOURCE-NOT-FOUND
-
EXTERNAL CONDITION DOWNLOAD-CORRUPTED
Error signalled when the downloaded modfile does not match expected size and hash. See FILE-SIZE See MODFILE-ERROR (type)
-
EXTERNAL CONDITION GAME-NOT-FOUND
Error signalled when interacting with a game that doesn't exist. See RESOURCE-NOT-FOUND
-
EXTERNAL CONDITION INVALID-ACCESS-KEY
Error signalled when the used access key is invalid. See REQUEST-ERROR
-
EXTERNAL CONDITION MOD-DELETED
Error signalled when interacting with a mod that has been deleted. See RESOURCE-NOT-FOUND
-
EXTERNAL CONDITION MOD-NOT-FOUND
Error signalled when interacting with a mod that doesn't exist. See RESOURCE-NOT-FOUND
-
EXTERNAL CONDITION MODFILE-ERROR
Base condition for all errors related to modfile management. See MODIO-CONDITION (type) See MODFILE See TARGET
-
EXTERNAL CONDITION MODFILE-NOT-FOUND
Error signalled when interacting with a modfile that doesn't exist. See RESOURCE-NOT-FOUND
-
EXTERNAL CONDITION MODIO-CONDITION
Base condition class for everything from this library.
-
EXTERNAL CONDITION PERMISSION-DENIED
Error signalled when attempting to access an endpoint without proper authorisation. See REQUEST-ERROR
-
EXTERNAL CONDITION REQUEST-ERROR
Base error class for any request failure. See MODIO-CONDITION See DATA See ENDPOINT See ARGUMENTS See ERROR-CODE See MESSAGE
-
EXTERNAL CONDITION RESOURCE-ALREADY-EXISTS
Error signalled when attempting to submit an object with the same ID as one that already exists. See REQUEST-ERROR
-
EXTERNAL CONDITION RESOURCE-NOT-FOUND
Error signalled when interacting with an object that doesn't exist. See REQUEST-ERROR
-
EXTERNAL CONDITION SERVER-ERROR
Error signalled when the remote server encountered an unexpected issue. See REQUEST-ERROR
-
EXTERNAL CONDITION SERVICE-UNAVAILABLE
Error signalled when the remote service is temporarily unavailable. See REQUEST-ERROR
-
EXTERNAL CONDITION TARGET-ALREADY-EXISTS
Error signalled when the modfile is already cached. See CLIENT (type)
-
EXTERNAL CONDITION TARGET-DOES-NOT-EXIST
Error signalled when the modfile is not properly cached. See CLIENT (type)
-
EXTERNAL CONDITION TOO-MANY-REQUESTS
Error signalled when too many requests have been made in a short time. See REQUEST-ERROR
-
EXTERNAL CONDITION USER-NOT-FOUND
Error signalled when interacting with a user that doesn't exist. See RESOURCE-NOT-FOUND
-
EXTERNAL STRUCTURE CACHE
No documentation provided. -
EXTERNAL FUNCTION DETECT-PLATFORM
Returns the current platform we're on. Should be one of: :windows :linux :mac :android :ios :xboxone :xboxseriesx :ps4 :ps5 :switch :wii
-
EXTERNAL FUNCTION DETECT-PORTAL
Returns the current portal we're connected to. If *portal* is not NIL, returns *portal*. Otherwise if cl-steamworks is loaded and available, :steam is returned. Otherwise NIL is returned. See *PORTAL*
-
EXTERNAL FUNCTION DIRECT-REQUEST
- ENDPOINT
- &KEY
- METHOD
- PARAMETERS
- HEADERS
- PARSE
- PREPEND-BASE
Function used to create a request. Handles data conversion and error conversion. If PREPEND-BASE is T, *BASE-URL* is prepended to ENDPOINT. If PARSE is T, the response is parsed as JSON and returned. Otherwise the raw stream is returned. See REQUEST-ERROR
-
EXTERNAL GENERIC-FUNCTION ACCESS-TOKEN
- OBJECT
Accesses the access token by which the client connects to the API. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF ACCESS-TOKEN)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION API-ACCESS
- OBJECT
Accesses the api-access options of the game. Can be a list composed of: :3RD-PARTIES-ALLOWED :DIRECT-DOWNLOAD-ALLOWED See GAME (type)
-
EXTERNAL GENERIC-FUNCTION API-KEY
- OBJECT
Accesses the API key by which the client connects to the API. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF API-KEY)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ARGUMENTS
- CONDITION
Returns the arguments that were passed to the endpoint that failed. See REQUEST-ERROR
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/DISCORD
- CLIENT
- TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against Discord using the given auth token. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/EMAIL-EXCHANGE
- CLIENT
- SECURITY-CODE
- &KEY
- EXPIRES
- ON-RATE-LIMIT
Completes an email login flow. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/EMAIL-REQUEST
- CLIENT
- &KEY
- ON-RATE-LIMIT
Initiates an email login flow. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/EPIC
- CLIENT
- ACCESS-TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against epic using an access token. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/GOG-GALAXY
- CLIENT
- APP-DATA
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against GOG Galaxy using the app data. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/GOOGLE
- CLIENT
- TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against Google using the given auth token. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/ITCHIO
- CLIENT
- TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against Itch.io using an access token. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/LOGOUT
- CLIENT
- &KEY
- ON-RATE-LIMIT
Invalidate the access-token of the client and log out. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/OCULUS
- CLIENT
- DEVICE
- NONCE
- USER-ID
- ACCESS-TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against Oculus with the given device identification. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/OPENID
- CLIENT
- ID-TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against an OpenID provider using the given id-token. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/STEAM
- CLIENT
- APP-DATA
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against steam using an encrypted app ticket. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/SWITCH
- CLIENT
- TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against Switch Online using the given auth token. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/TERMS
- CLIENT
- &KEY
- ON-RATE-LIMIT
Returns the authentication terms you must show to the user for third-party authentication. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATE/XBOX
- CLIENT
- TOKEN
- &KEY
- TERMS-AGREED
- EXPIRES
- ON-RATE-LIMIT
Authenticate against Xbox using the given auth token. See COMPLETE-AUTHENTICATION See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AUTHENTICATED-P
- CLIENT
Returns true if the client is authenticated and the authentication token is still valid. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION AVATAR
- OBJECT
Accesses the user's avatar IMAGE object. See USER (type) See IMAGE (type)
-
EXTERNAL GENERIC-FUNCTION BINARY-URL
- OBJECT
Accesses the URL at which the download can be accessed. See DOWNLOAD (type)
-
EXTERNAL GENERIC-FUNCTION CACHE
- OBJECT
Accesses the internal cache of the client. See CACHE (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF CACHE)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION CHANGELOG
- OBJECT
Accesses the changelog of the mod payload. See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION CLEAR-CACHE
- CACHE
Clears the cache completely. See CACHE (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION COMMUNITY
- OBJECT
Accesses the community options of the game. Can be a list composed of: :COMMENTS :GUIDES :DISABLE-SUBSCRIBE-TEXT See GAME (type)
-
EXTERNAL GENERIC-FUNCTION COMPLETE-AUTHENTICATION
- CLIENT
- DATA
Function called when authentication completes successfully. You may define secondary methods on this function to react to a successful login. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION CONTENT
- OBJECT
Accesses the text content of the comment. See COMMENT (type)
-
EXTERNAL GENERIC-FUNCTION CURATION
- OBJECT
Accesses the curation option of the game. Can be one of: :NONE :PAID :FULL See GAME (type)
-
EXTERNAL GENERIC-FUNCTION DATA
- CONDITION
Returns the raw JSON data payload the failure returned, if any. See REQUEST-ERROR
-
EXTERNAL GENERIC-FUNCTION DATE-ADDED
- OBJECT
Returns the timestamp at which the object was added. See COMMENT (type) See GAME (type) See MOD-DEPENDENCY (type) See MOD-EVENT (type) See MOD (type) See MOD-TAG (type) See MODFILE (type) See RATING (type) See USER-EVENT (type)
-
EXTERNAL GENERIC-FUNCTION DATE-EXPIRES
- OBJECT
Accesses the timestamp after which the object is no longer valid. See VALID-P See DOWNLOAD (type) See GAME-STATS (type) See MOD-STATS (type)
-
EXTERNAL GENERIC-FUNCTION DATE-LIVE
- OBJECT
Accesses the timestamp at which this object was made available publicly. See GAME (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION DATE-SCANNED
- OBJECT
Accesses the timestamp at which the file was scanned.
-
EXTERNAL GENERIC-FUNCTION DATE-UPDATED
- OBJECT
Accesses the timestamp at which this object was last updated. See GAME (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION DEFAULT-GAME-ID
- OBJECT
Accesses the default ID of the game you want to interact with. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF DEFAULT-GAME-ID)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION DESCRIPTION
- OBJECT
Accesses the plaintext description of the mod. See MOD (type)
-
EXTERNAL GENERIC-FUNCTION DESCRIPTION-HTML
- OBJECT
Accesses the rich HTML text description of the mod. See MOD (type)
-
EXTERNAL GENERIC-FUNCTION DETERMINE-MOD-PROPERTIES
- CLIENT
- TARGET
Attempt to discover information about the mod by parsing any ASD files within. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION DISPLAY-NAME
- OBJECT
Accesses the preferred display name of the user. You should use this name instead of the raw account name to display to other users. See USER (type)
-
EXTERNAL GENERIC-FUNCTION DOWNLOAD
- OBJECT
Accesses the download object of the modfile. See MODFILE (type) See DOWNLOAD (type)
-
EXTERNAL GENERIC-FUNCTION DOWNLOAD-MODFILE
- FILE
- TARGET
- &KEY
- IF-EXISTS
- IF-DOES-NOT-EXIST
Downloads the given modfile to disk. IF-EXISTS may be the following: :SUPERSEDE --- The file is overwritten if the remote modfile is newer. :OVERWRITE --- The file is always overwritten. :ERROR --- An error of type TARGET-ALREADY-EXISTS is signalled. :RETURN --- The TARGET is returned with no modifications. NIL --- NIL is returned with no modifications. IF-DOES-NOT-EXIST may be the following: :CREATE --- The file is downloaded. :ERROR --- An error of type TARGET-DOES-NOT-EXIST is signalled. NIL --- NIL is returned with no modifications. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION DOWNLOADS
- OBJECT
Accesses the download statistics of the object. Should be a plist with the following keys: :TODAY :TOTAL :DAILY See GAME-STATS (type) See MOD-STATS (type)
-
EXTERNAL GENERIC-FUNCTION ENDPOINT
- CONDITION
Returns the endpoint that failed. See REQUEST-ERROR
-
EXTERNAL GENERIC-FUNCTION ERROR-CODE
- CONDITION
Returns the error-code that was returned for the failure. See REQUEST-ERROR
-
EXTERNAL GENERIC-FUNCTION EVENT-TYPE
- OBJECT
Accesses the type of the event described. Can be one of: :JOIN :LEAVE :SUBSCRIBE :UNSUBSCRIBE :FILE-CHANGED :AVAILABLE :UNAVAILABLE :EDITED :DELETED :TEAM-CHANGED See MOD-EVENT (type) See USER-EVENT (type)
-
EXTERNAL GENERIC-FUNCTION EXTRACT-MODFILE
- FILE
- TARGET
- &KEY
- IF-NO-CACHE
- IF-EXISTS
Extract the given modfile contents to disk. First calls DOWNLOAD-MODFILE with :IF-EXISTS :SUPERSEDE and :IF-DOES-NOT-EXIST IF-NO-CACHE. IF-EXISTS may be one of the following: :SUPERSEDE --- The target directory is deleted and the contents are extracted anew. Note if you do not want it to delete the directory, use :OVERWRITE instead. :OVERWRITE --- Overwrite the target directory contents with the new files, leaving old files intact. :ERROR --- Signal an error of type TARGET-ALREADY-EXISTS. NIL --- NIL is returned with no modifications. See DOWNLOAD-MODFILE See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION EXTRACT-USER-PROPERTIES
- CLIENT
Returns a form that can be serialised to persist the client's current settings. See RESTORE-USER-PROPERTIES See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION FILE-HASH
- OBJECT
Accesses the MD5 hash of the mod payload. See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION FILE-NAME
- OBJECT
Accesses the original file name of the mod payload. See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION FILE-SIZE
- OBJECT
Accesses the size of the mod payload in bytes. See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION FIND-MODFILE
- CLIENT
- MOD-ID
- &KEY
- FILE-ID
- VERSION
Attempt to find a matching remote modfile of the given specs. See MODFILE (type) See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAME
- THING
Returns the GAME object this object is associated with. See GAME (type) See GAME-RESOURCE (type)
-
EXTERNAL GENERIC-FUNCTION GAME-ID
- OBJECT
Accesses the ID of the GAME this object is associated with. See GAME-RESOURCE (type)
-
EXTERNAL GENERIC-FUNCTION (SETF GAME-ID)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION GAMES
- CLIENT
- &KEY
- GAME
- STATUS
- SUBMITTED-BY
- DATE-ADDED
- DATE-UPDATED
- DATE-LIVE
- NAME
- NAME-ID
- SUMMARY
- INSTRUCTIONS-URL
- UGC-NAME
- PRESENTATION
- SUBMISSION
- CURATION
- COMMUNITY
- REVENUE
- API-ACCESS
- MATURITY
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of matching games. See GAME (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/EDIT
- CLIENT
- GAME
- &KEY
- STATUS
- NAME
- NAME-ID
- SUMMARY
- INSTRUCTIONS
- INSTRUCTIONS-URL
- UGC-NAME
- PRESENTATION
- SUBMISSION
- CURATION
- COMMUNITY
- REVENUE
- API-ACCESS
- MATURITY
- ON-RATE-LIMIT
Updates the given game object. See GAME (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/GET
- CACHE
- ID
- &KEY
- ON-RATE-LIMIT
- IGNORE-CACHE
Returns the requested game object. See GAME (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MEDIA/ADD
- CLIENT
- GAME
- &KEY
- LOGO
- ICON
- HEADER
- ON-RATE-LIMIT
Uploads a media file to a game. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS
- CLIENT
- GAME
- &KEY
- MOD
- STATUS
- VISIBILITY
- SUBMITTED-BY
- DATE-ADDED
- DATE-UPDATED
- DATE-LIVE
- MATURITY
- NAME
- NAME-ID
- SUMMARY
- DESCRIPTION
- HOMEPAGE-URL
- MODFILE
- METADATA-BLOB
- METADATA
- TAGS
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of matching mods for the game. See MOD (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/ADD
- CLIENT
- GAME
- NAME
- SUMMARY
- LOGO
- &KEY
- VISIBILITY
- NAME-ID
- DESCRIPTION
- HOMEPAGE-URL
- STOCK
- MATURITY
- METADATA-BLOB
- TAGS
- ON-RATE-LIMIT
Creates a new mod object on the game. See MOD (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/COMMENTS
- CLIENT
- GAME
- MOD
- &KEY
- COMMENT
- SUBMITTED-BY
- DATE-ADDED
- REPLY
- THREAD-POSITION
- KARMA
- CONTENT
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of COMMENT objects on the given mod. See COMMENT (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/COMMENTS/ADD
- CLIENT
- GAME
- MOD
- COMMENT
- CONTENT
- &KEY
- REPLY
- ON-RATE-LIMIT
Creates a new comment. See COMMENT (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/COMMENTS/DELETE
- CLIENT
- GAME
- MOD
- COMMENT
- &KEY
- ON-RATE-LIMIT
Deletes an existing comment. See COMMENT (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/COMMENTS/EDIT
- CLIENT
- GAME
- MOD
- COMMENT
- CONTENT
- &KEY
- ON-RATE-LIMIT
Updates an existing comment. See COMMENT (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/COMMENTS/GET
- CACHE
- GAME
- MOD
- ID
- &KEY
- ON-RATE-LIMIT
- IGNORE-CACHE
Returns the requested comment. See COMMENT (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/DELETE
- CLIENT
- GAME
- MOD
- &KEY
- ON-RATE-LIMIT
Deletes the given mod object. See MOD (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/DEPENDENCIES
- CLIENT
- GAME
- MOD
- &KEY
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of dependencies for the given mod. See MOD-DEPENDENCY (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/DEPENDENCIES/ADD
- CLIENT
- GAME
- MOD
- DEPENDENCIES
- &KEY
- ON-RATE-LIMIT
Adds new dependencies to the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/DEPENDENCIES/DELETE
- CLIENT
- GAME
- MOD
- DEPENDENCIES
- &KEY
- ON-RATE-LIMIT
Removes dependencies from the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/EDIT
- CLIENT
- GAME
- MOD
- &KEY
- LOGO
- STATUS
- VISIBILITY
- NAME
- NAME-ID
- SUMMARY
- DESCRIPTION
- HOMEPAGE-URL
- STOCK
- MATURITY
- METADATA-BLOB
- ON-RATE-LIMIT
Updates the given mod object. See MOD (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/EVENTS
- CLIENT
- GAME
- &KEY
- EVENT
- MOD
- USER
- DATE-ADDED
- EVENT-TYPE
- LATEST
- SUBSCRIBED
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of events for the game. See GAME-EVENT (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/FILES
- CLIENT
- GAME
- MOD
- &KEY
- MODFILE
- DATE-ADDED
- DATE-SCANNED
- VIRUS-STATUS
- VIRUS-POSITIVE
- FILE-SIZE
- FILE-HASH
- FILE-NAME
- VERSION
- CHANGELOG
- METADATA-BLOB
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of modfiles of the given mod. See MODFILE (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/FILES/ADD
- CLIENT
- GAME
- MOD
- FILE
- &KEY
- VERSION
- CHANGELOG
- ACTIVE
- FILE-HASH
- FILE-NAME
- METADATA-BLOB
- ON-RATE-LIMIT
Creates a new modfile object. See MODFILE (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/FILES/DELETE
- CLIENT
- GAME
- MOD
- FILE
- &KEY
- ON-RATE-LIMIT
Deletes the given modfile object. See MODFILE (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/FILES/EDIT
- CLIENT
- GAME
- MOD
- FILE
- &KEY
- VERSION
- CHANGELOG
- ACTIVE
- METADATA-BLOB
- ON-RATE-LIMIT
Updates the given modfile object. See MODFILE (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/FILES/GET
- CACHE
- GAME
- MOD
- ID
- &KEY
- ON-RATE-LIMIT
- IGNORE-CACHE
Returns the requested modfile object. See MODFILE (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/GET
- CACHE
- GAME
- ID
- &KEY
- ON-RATE-LIMIT
- IGNORE-CACHE
Returns the requested mod object. See MOD (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/MEDIA/ADD
- CLIENT
- GAME
- MOD
- &KEY
- LOGO
- IMAGES
- YOUTUBE-URLS
- SKETCHFAB
- ON-RATE-LIMIT
Uploads a new media file to a mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/MEDIA/DELETE
- CLIENT
- GAME
- MOD
- &KEY
- ON-RATE-LIMIT
Deletes an existing media file from a mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/METADATA
- CLIENT
- GAME
- MOD
- &KEY
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns the table of metadata on the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/METADATA/ADD
- CLIENT
- GAME
- MOD
- &KEY
- METADATA
- ON-RATE-LIMIT
Adds or updates an existing metadata key on the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/METADATA/DELETE
- CLIENT
- GAME
- MOD
- &KEY
- METADATA
- ON-RATE-LIMIT
Deletes an existing metadata key from the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/MOD-EVENTS
- CLIENT
- GAME
- MOD
- &KEY
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of events for the mod. See MOD-EVENT (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/RATINGS/ADD
- CLIENT
- GAME
- MOD
- RATING
- &KEY
- ON-RATE-LIMIT
Adds or updates a rating on a mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/STATS
- CLIENT
- GAME
- MOD
- &KEY
- ON-RATE-LIMIT
Returns the stats object for the given mod. See MOD-STATS (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/STATS/ALL
- CLIENT
- GAME
- &KEY
- MOD
- POPULARITY-RANK-POSITION
- POPULARITY-RANK-TOTAL-MODS
- TOTAL-DOWNLOADS
- TOTAL-SUBSCRIBERS
- POSITIVE-RATINGS
- NEGATIVE-RATINGS
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of stats about the mods in the game See MOD-STATS (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/SUBSCRIBE
- CLIENT
- GAME
- MOD
- &KEY
- ON-RATE-LIMIT
Subscribe the current user to the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/TAGS
- CLIENT
- GAME
- MOD
- &KEY
- DATE-ADDED
- TAG
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of tags for the mod. See MOD-TAG See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/TAGS/ADD
- CLIENT
- GAME
- MOD
- &KEY
- TAGS
- ON-RATE-LIMIT
Adds a new tag to the mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/TAGS/DELETE
- CLIENT
- GAME
- MOD
- &KEY
- TAGS
- ON-RATE-LIMIT
Deletes an existing tag from a mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/TEAM
- CLIENT
- GAME
- MOD
- &KEY
- MEMBER
- USER
- USERNAME
- LEVEL
- DATE-ADDED
- PENDING
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of all team members of the given mod. See TEAM-MEMBER (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/TEAM/ADD
- CLIENT
- GAME
- MOD
- LEVEL
- &KEY
- TITLE
- ON-RATE-LIMIT
Adds a new team member to the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/TEAM/DELETE
- CLIENT
- GAME
- MOD
- MEMBER
- &KEY
- ON-RATE-LIMIT
Deletes an existing team member from a mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/TEAM/EDIT
- CLIENT
- GAME
- MOD
- MEMBER
- &KEY
- LEVEL
- TITLE
- LEADER
- ON-RATE-LIMIT
Updates an existing team member in a mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/MODS/UNSUBSCRIBE
- CLIENT
- GAME
- MOD
- &KEY
- ON-RATE-LIMIT
Unsubscribe the current user from the given mod. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/STATS
- CLIENT
- GAME
- &KEY
- ON-RATE-LIMIT
Returns the stats object for the given game. See GAME-STATS (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/TAGS
- CLIENT
- GAME
- &KEY
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of tag options for the game. See GAME-TAG-OPTION (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/TAGS/ADD
- CLIENT
- GAME
- NAME
- TYPE
- TAGS
- &KEY
- HIDDEN
- LOCKED
- ON-RATE-LIMIT
Adds a new tag option to a game. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GAMES/TAGS/DELETE
- CLIENT
- GAME
- NAME
- TAGS
- &KEY
- ON-RATE-LIMIT
Deletes an existing tag option from a game. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION GENERAL/OWNERSHIP
- CLIENT
- TYPE
- ID
- &KEY
- ON-RATE-LIMIT
Returns the owner of the given object. See USER (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION HEADER
- OBJECT
Accesses the header IMAGE of the game. See GAME (type) See IMAGE (type)
-
EXTERNAL GENERIC-FUNCTION HIDDEN
- OBJECT
Accesses whether the category should be hidden or not. See GAME-TAG-OPTION (type)
-
EXTERNAL GENERIC-FUNCTION HOMEPAGE-URL
- OBJECT
Accesses the upstream homepage URL of the mod. See MOD (type)
-
EXTERNAL GENERIC-FUNCTION ICON
- OBJECT
Accesses the icon IMAGE of the game. See GAME (type) See IMAGE (type)
-
EXTERNAL GENERIC-FUNCTION ID
- ID
Accesses the ID identifying the object on the API. See UNIQUE-RESOURCE (type)
-
EXTERNAL GENERIC-FUNCTION (SETF ID)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION IMAGES
- OBJECT
Accesses the list of IMAGE objects for the mod. See MOD-MEDIA (type)
-
EXTERNAL GENERIC-FUNCTION INSTRUCTIONS
- OBJECT
Accesses the text to display for instructions on user contributions. See GAME (type)
-
EXTERNAL GENERIC-FUNCTION INSTRUCTIONS-URL
- OBJECT
Accesses the URL to display for further user instructions. See GAME (type)
-
EXTERNAL GENERIC-FUNCTION INVITE
- OBJECT
Accesses the member's invite status. Can be one of: :ACCEPTED :PENDING See TEAM-MEMBER (type)
-
EXTERNAL GENERIC-FUNCTION KARMA
- OBJECT
Accesses the karma (vote status) of the comment. See COMMENT (type)
-
EXTERNAL GENERIC-FUNCTION LANGUAGE
- OBJECT
Accesses the language that is passed to the API. This defaults to English. You should set it to the user's preferred language to ensure you get messages from the API in that language. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF LANGUAGE)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION LAST-ONLINE
- OBJECT
Accesses the timestamp at which the user was last seen online. See USER (type)
-
EXTERNAL GENERIC-FUNCTION LEVEL
- OBJECT
Accesses the level of the member. Can be a list composed of: :MODERATOR :MANAGER :ADMINISTRATOR See TEAM-MEMBER (type)
-
EXTERNAL GENERIC-FUNCTION LOAD-LOCAL-MODLIST
- CLIENT
Returns a list of mods in the local modlist. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION LOAD-REMOTE-MODLIST
- CLIENT
Returns a list of mods the user is subscribed to. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION LOCKED
- OBJECT
Accesses whether the category should be locked or not. See GAME-TAG-OPTION (type)
-
EXTERNAL GENERIC-FUNCTION LOGO
- OBJECT
Accesses the logo IMAGE of the object. See GAME (type) See MOD (type) See IMAGE (type)
-
EXTERNAL GENERIC-FUNCTION MATURITY
- OBJECT
Accesses the maturity options of the game. Can be a list composed of: :ALLOWED See GAME (type)
-
EXTERNAL GENERIC-FUNCTION ME
- CLIENT
- &KEY
- ON-RATE-LIMIT
Returns the current user that is authenticated. See CLIENT (type) See USER (type)
-
EXTERNAL GENERIC-FUNCTION ME/EVENTS
- CLIENT
- &KEY
- EVENT
- GAME
- MOD
- USER
- DATE-ADDED
- EVENT-TYPE
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of user events. See CLIENT (type) See USER-EVENT (type)
-
EXTERNAL GENERIC-FUNCTION ME/FILES
- CLIENT
- &KEY
- MODFILE
- MOD
- DATE-ADDED
- DATE-SCANNED
- VIRUS-STATUS
- VIRUS-POSITIVE
- FILE-SIZE
- FILE-HASH
- FILE-NAME
- VERSION
- CHANGELOG
- METADATA-BLOB
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of files the current user has contributed to. See CLIENT (type) See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION ME/GAMES
- CLIENT
- &KEY
- GAME
- STATUS
- SUBMITTED-BY
- DATE-ADDED
- DATE-UPDATED
- DATE-LIVE
- NAME
- NAME-ID
- SUMMARY
- INSTRUCTIONS-URL
- UGC-NAME
- PRESENTATION
- SUBMISSION
- CURATION
- COMMUNITY
- REVENUE
- API-ACCESS
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of games the current user has contributed to. See CLIENT (type) See GAME (type)
-
EXTERNAL GENERIC-FUNCTION ME/MODS
- CLIENT
- &KEY
- MOD
- GAME
- STATUS
- VISIBILITY
- SUBMITTED-BY
- DATE-ADDED
- DATE-UPDATED
- DATE-LIVE
- NAME
- NAME-ID
- SUMMARY
- DESCRIPTION
- HOMEPAGE-URL
- MODFILE
- METADATA-BLOB
- METADATA-KVP
- TAGS
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of mods the current user has contributed to. See CLIENT (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION ME/RATINGS
- CLIENT
- &KEY
- GAME
- MOD
- RATING
- DATE-ADDED
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of ratings the current user has contributed. See CLIENT (type) See RATING (type)
-
EXTERNAL GENERIC-FUNCTION ME/SUBSCRIBED
- CLIENT
- &KEY
- MOD
- GAME
- SUBMITTED-BY
- DATE-ADDED
- DATE-UPDATED
- DATE-LIVE
- NAME
- NAME-ID
- SUMMARY
- DESCRIPTION
- HOMEPAGE-URL
- METADATA-BLOB
- TAGS
- IGNORE-CACHE
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- START
- END
- PER-PAGE
- SORT
Returns a list of subscribed mods for the current user. See CLIENT (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION MEDIA
- OBJECT
Accesses the media object of the mod. See MOD (type) See MOD-MEDIA (type)
-
EXTERNAL GENERIC-FUNCTION MESSAGE
- CONDITION
Returns the message that was supplied about the failure. See REQUEST-ERROR
-
EXTERNAL GENERIC-FUNCTION METADATA
- OBJECT
Accesses the metadata table of the mod. See MOD (type)
-
EXTERNAL GENERIC-FUNCTION METADATA-BLOB
- OBJECT
Accesses the metadata blob of the object. See MOD (type) See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION MOD
- THING
Returns the MOD object this object is associated with. See MOD (type) See MOD-RESOURCE (type)
-
EXTERNAL GENERIC-FUNCTION MOD-DIRECTORY
- CLIENT
- MOD
Returns the directory in which the given mod's files are stored. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION MOD-ID
- OBJECT
Accesses the ID of the MOD this object is associated with. See MOD-RESOURCE (type)
-
EXTERNAL GENERIC-FUNCTION (SETF MOD-ID)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION MODFILE
- OBJECT
Accesses the most recent modfile of the mod. See MOD (type) See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION MODFILE-CACHE-DIRECTORY
- CLIENT
Returns the directory in which modfiles are cached. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION MODLIST-FILE
- CLIENT
Returns the file in which the list of mods is stored. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION MODS
- OBJECT
Accesses the total number of mods available for the game. See GAME-STATS (type)
-
EXTERNAL GENERIC-FUNCTION MODS-DIRECTORY
- OBJECT
Accesses the path to the directory in which the client will manage mod data. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF MODS-DIRECTORY)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION NAME
- OBJECT
Accesses the name of the object. Note that this name is not necessarily unique. See NAMED-RESOURCE (type) See NAME-ID
-
EXTERNAL GENERIC-FUNCTION (SETF NAME)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION NAME-ID
- OBJECT
Accesses the name-id of the object. Unlike the NAME this is unique. See NAMED-RESOURCE (type) See NAME
-
EXTERNAL GENERIC-FUNCTION (SETF NAME-ID)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ON-RATE-LIMIT
- OBJECT
Accesses the default action to perform when rate limitation is hit. Can be one of: :RETURN --- The REQUEST simply returns NIL :SLEEP --- The thread is put to sleep until the deadline :ERROR --- An error of TOO-MANY-REQUESTS is signalled function-designator --- The function is called See REQUEST See WAIT-UNTIL See TOO-MANY-REQUESTS (type) See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF ON-RATE-LIMIT)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ORIGINAL
- OBJECT
Accesses the URL of the original image version. See IMAGE (type)
-
EXTERNAL GENERIC-FUNCTION PLATFORM
- OBJECT
Accesses the platform that is passed to the API. Defaults to DETECT-PLATFORM. See DETECT-PLATFORM See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF PLATFORM)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION POPULARITY
- OBJECT
Accesses the popularity metrics plist. Contains the following keys: :POSITION :TOTAL See MOD-STATS (type)
-
EXTERNAL GENERIC-FUNCTION PORTAL
- OBJECT
Accesses the portal that is passed to the API. Defaults to DETECT-PORTAL See DETECT-PORTAL See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF PORTAL)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION PRESENTATION
- OBJECT
Accesses the presentation option of the game. Can be one of: :GRID :TABLE See GAME (type)
-
EXTERNAL GENERIC-FUNCTION PROFILE-URL
- OBJECT
Accesses the URL at which the object can be accessed canonically. See GAME (type) See MOD (type) See USER (type)
-
EXTERNAL GENERIC-FUNCTION RATING
- OBJECT
Accesses the rating of the object. For the RATING this can be one of: :GOOD :NONE :BAD For the MOD-STATS this is a plist containing the following keys: :TOTAL :POSITIVE :NEGATIVE :PERCENTAGE :AGGREGATE :TEXT See MOD-STATS (type) See RATING (type)
-
EXTERNAL GENERIC-FUNCTION REPLY
- THING
Returns the COMMENT object that this is a reply to, if any. See COMMENT (type)
-
EXTERNAL GENERIC-FUNCTION REPLY-ID
- OBJECT
Accesses the ID of the comment this is a reply to. See COMMENT (type)
-
EXTERNAL GENERIC-FUNCTION REPORT
- CLIENT
- TYPE
- ID
- REPORT-TYPE
- SUMMARY
- &KEY
- NAME
- CONTACT
- ON-RATE-LIMIT
Submit a report about something that violates terms of service or rules. See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION REQUEST
- CLIENT
- ENDPOINT
- &KEY
- ON-RATE-LIMIT
- PARAMETERS
- METHOD
- PARSE
- PREPEND-BASE
Perform an API request from the client. Handles rate limitation and appending all necessary headers and parameters from the client for a proper API request. Otherwise same in function as DIRECT-REQUEST See ON-RATE-LIMIT See DIRECT-REQUEST See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION REQUEST-LIST
- CLIENT
- ENDPOINT
- &KEY
- COLLECT-RESULTS
- KEY
- ON-RATE-LIMIT
- PARAMETERS
- START
- END
- PER-PAGE
- SORT
- FILTER
Perform a listified request. This calls REQUEST, but automatically re-calling REQUEST to traverse the entire list of contents on the remote API endpoint. The following extra arguments are available: :COLLECT-RESULTS --- If non-NIL, the results are accumulated and returned. :KEY --- Function called for each object in the listed endpoint. :START --- Start offset into the listed endpoint. Defaults to 0. :END --- End limit of the listed endpoint. Defaults to infinity. :PER-PAGE --- How many results to deliver per request. Defaults to 100. :SORT --- By which attribute to sort the request. Can also be a list of attribute and :ASC or :DESC to change direction. :FILTER --- May be a list of filtering expressions to limit the results. Use the F macro to construct a filter. See F See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION RESTORE-USER-PROPERTIES
- CLIENT
- PROPERTIES
Restores the client's settings from the given form. The form should be one that is EQUAL to one returned by EXTRACT-USER-PROPERTIES. See EXTRACT-USER-PROPERTIES See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION REVENUE
- OBJECT
Accesses the revenue options of the game. Can be a list composed of: :SELLING-ALLOWED :DONATIONS-ALLOWED :TRADING-ALLOWED :SCARCITY-CONTROL-ALLOWED See GAME (type)
-
EXTERNAL GENERIC-FUNCTION SKETCHFAB-URLS
- OBJECT
Accesses the list of Sketchfab video URLs for the mod. See MOD-MEDIA (type)
-
EXTERNAL GENERIC-FUNCTION STATS
- OBJECT
Accesses the statistical data of the object. See GAME (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION STATUS
- OBJECT
Accesses the status of the object. Can be one of: :UNACCEPTED :ACCEPTED :DELETED See GAME (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION SUBMISSION
- OBJECT
Accesses the submission option of the game. Can be one of: :API :ANYWHERE See GAME (type)
-
EXTERNAL GENERIC-FUNCTION SUBMITTED-BY
- OBJECT
Accesses the USER object that submitted this object. See USER (type) See GAME (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION SUBSCRIBERS
- OBJECT
Accesses the total number of subscribers of the object. See GAME-STATS (type) See MOD-STATS (type)
-
EXTERNAL GENERIC-FUNCTION SUMMARY
- OBJECT
Accesses the short summary text of the object. See GAME (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION SYNC-MODLIST-FROM-REMOTE
- CLIENT
- &KEY
- IF-DOES-NOT-EXIST
- IF-EXISTS
Synchronise the modlist with the remote. This assumes the remote has the correct data. Deviations in the local modlist are subject to the following: IF-DOES-NOT-EXIST may be one of the following: :CREATE --- The mod is downloaded and extracted. :ERROR --- An error is signalled. NIL --- Nothing is done. IF-EXISTS may be one of the following: :DELETE --- The mod's files are deleted. :DEACTIVATE --- The mod is marked as inactive. :ERROR --- An error is signalled. NIL --- Nothing is done. After completing the sync, the local modlist is written. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION SYNC-MODLIST-TO-REMOTE
- CLIENT
- &KEY
Synchronise the modlist with the remote. This assumes the local modlist has the correct data. All subscriptions are updated to reflect the current modlist. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION TAG-COUNT
- OBJECT
Accesses the number of tags in the category. See GAME-TAG-OPTION (type)
-
EXTERNAL GENERIC-FUNCTION TAG-OPTIONS
- OBJECT
Accesses the tag options of the game See GAME (type) See GAME-TAG-OPTION (type)
-
EXTERNAL GENERIC-FUNCTION TAG-TYPE
- OBJECT
Accesses the type of tag category this is. Can be one of: :CHECKBOXES :DROPDOWN See GAME-TAG-OPTION (type)
-
EXTERNAL GENERIC-FUNCTION TAGS
- OBJECT
Accesses the list of actual tags of the object. See GAME-TAG-OPTION (type) See MOD (type)
-
EXTERNAL GENERIC-FUNCTION TARGET
- CONDITION
Returns the target path of the modfile operation. See MODFILE-ERROR (type)
-
EXTERNAL GENERIC-FUNCTION THREAD-POSITION
- OBJECT
Accesses the position of the comment in the thread. See COMMENT (type)
-
EXTERNAL GENERIC-FUNCTION THUMBNAILS
- OBJECT
Accesses the list of thumbnails for the image. Returns a PLIST where the keys are resolution widths and the values are URLs to images. May include the following keys: 50 64 100 128 256 320 640 1280 See IMAGE (type)
-
EXTERNAL GENERIC-FUNCTION TITLE
- OBJECT
Accesses the member's official title. See TEAM-MEMBER (type)
-
EXTERNAL GENERIC-FUNCTION UGC-NAME
- OBJECT
Accesses the UGC type name of the game. See GAME (type)
-
EXTERNAL GENERIC-FUNCTION UPDATE-LOCAL-MODS
- CLIENT
- &KEY
- IF-EXISTS
- IF-DOES-NOT-EXIST
Update all local mods if possible. IF-EXISTS may be one of the following: :SUPERSEDE --- The files are only updated if the remote is newer. :OVERWRITE --- The files are updated unconditionally. If-DOES-NOT-EXIST may be one of the following: :DELETE --- The local files are deleted. :DEACTIVATE --- The mod is marked as inactive. :ERROR --- An error is signalled. NIL --- Nothing is done. After completing the sync, the local modlist is written. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION USER
- OBJECT
Returns the USER object associated with the object. See USER (type) See COMMENT (type) See TEAM-MEMBER (type)
-
EXTERNAL GENERIC-FUNCTION USER-ID
- OBJECT
Accesses the ID of the USER this object is associated with. See USER-RESOURCE (type)
-
EXTERNAL GENERIC-FUNCTION (SETF USER-ID)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION VALID-P
- OBJECT
Returns true if the given object is still considered valid. See DATE-EXPIRES
-
EXTERNAL GENERIC-FUNCTION VALID-UNTIL
- OBJECT
Accesses the deadline until which the access-key is valid. See ACCESS-KEY See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF VALID-UNTIL)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION VERSION
- OBJECT
Accesses the version string of the mod payload. See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION VIRUS-HASH
- OBJECT
Accesses the hash that the virus scanner produced. See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION VIRUS-POSITIVE
- OBJECT
Accesses the virus scan's result. Can be one of: :NO-THREATS :FLAGGED See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION VIRUS-STATUS
- OBJECT
Accesses the virus scan's status. Can be one of: :UNSCANNED :COMPLETED :IN-PROGRESS :TOO-LARGE :FILE-NOT-FOUND :SCANNING-ERROR See MODFILE (type)
-
EXTERNAL GENERIC-FUNCTION VISIBLE
- OBJECT
Accesses the visibility of the mod. Can be one of: :HIDDEN :PUBLIC See MOD (type)
-
EXTERNAL GENERIC-FUNCTION WAIT-UNTIL
- OBJECT
Accesses the deadline until which requests are deferred. Can be NIL or a universal-time timestamp. See REQUEST See CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION (SETF WAIT-UNTIL)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION WRITE-LOCAL-MODLIST
- CLIENT
- MODLIST
Writes the list of mods into the local modlist file. See SIMPLE-CLIENT (type)
-
EXTERNAL GENERIC-FUNCTION YOUTUBE-URLS
- OBJECT
Accesses the list of YouTube video URLs for the mod. See MOD-MEDIA (type)
-
EXTERNAL MACRO F
- EXPR
Construct a filter from the given filtering expression. EXPR ::= NOT | SEARCH | BASIC NOT ::= (not SEARCH | BASIC) SEARCH ::= (search query) BASIC ::= (FILTER comparison PARAMETER) FILTER ::= equal | find | equalp | max | min | logand PARAMETER --- The name of an API parameter.
-