graphbrainz/src/extensions/fanart-tv/prologue.md
Brian Beck 898ec78a6f Add a schema extension API and several extensions (#42)
* Add a schema extension API and several extensions
* Update graphql-markdown to use new diffSchema function
* Update Node support
2017-10-19 01:00:21 -07:00

704 B

This extension uses its own cache, separate from the MusicBrainz loader cache.

Configuration

This extension can be configured using environment variables:

  • FANART_API_KEY: The fanart.tv API key to use. This is required for any fields added by the extension to successfully resolve.
  • FANART_BASE_URL: The base URL at which to access the fanart.tv API. Defaults to http://webservice.fanart.tv/v3/.
  • FANART_CACHE_SIZE: The number of items to keep in the cache. Defaults to GRAPHBRAINZ_CACHE_SIZE if defined, or 8192.
  • FANART_CACHE_TTL: The number of seconds to keep items in the cache. Defaults to GRAPHBRAINZ_CACHE_TTL if defined, or 86400000 (one day).