title = full importer name as listed on the client-side
mode = 'scraping' or 'oauth'
oauthUrl = URL to send the user to, in case 'oauth' mode has been selected
fetchEntryReferences(profileIdentifier)
'identifier' is either an OAuth authorization key (if mode is 'oauth'), or a profile name/URL otherwise.
The function must return an array of entry references. Each entry reference holds:
id = Unique entry ID (use the importer name + profile name
remote entry ID to generate this). Must be usable as a filename.
title = Entry title
link = Optional link to the remote entry
thumbnail = Optional remote thumbnail picture of the entry
importerProperties = Any additional info required by the importer for downloading the entry details
fetchEntryDetails(entryReference)
The function grabs the detailed info of an entry. The object holds:
title = Entry title
externalEvent = Event title
published = Optional entry publication date
picture = Optional URL of a picture to download
links = An array of links to play the game [{url, label}]
platforms = Optional array of entry platforms
description = Optional short description (plain text)
body = Detailed description (plain text or Markdown, no HTML)
Importers spec:
Constants to configure the importer.
'identifier' is either an OAuth authorization key (if mode is 'oauth'), or a profile name/URL otherwise. The function must return an array of entry references. Each entry reference holds:
The function grabs the detailed info of an entry. The object holds: