mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
* Add a schema extension API and several extensions * Update graphql-markdown to use new diffSchema function * Update Node support
704 B
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 tohttp://webservice.fanart.tv/v3/.FANART_CACHE_SIZE: The number of items to keep in the cache. Defaults toGRAPHBRAINZ_CACHE_SIZEif defined, or8192.FANART_CACHE_TTL: The number of seconds to keep items in the cache. Defaults toGRAPHBRAINZ_CACHE_TTLif defined, or86400000(one day).