Home Manual Reference Source Test Repository

Variable

Static Public Summary
public

A model object for anime shows.

public

A model object for movies.

public

The promise object to override the mongoose promise object.

public

A model object for shows.

public

Map object for correcting anime slugs.

public

An array of the supported collections for mongodb.

public

The cron time for scraping torrents.

public

The host of the server of the database.

public

The name of the database.

public

The providers for scraping ExtraTorrent for anime.

public

The providers for scraping ExtraTorrent for movies.

public

The providers for scraping ExtraTorrent for shows.

public

fanart: Trakt

A configured Fanart API.

public

The providers for scraping KAT for anime.

public

The providers for scraping KAT for movies.

public

The providers for scraping KAT for shows.

public

Check if this instance of the API is the master.

public

maxWebRequest: Integer

The maximum web requests can take place at the same time.

public

Map object for correcting movie slugs.

public

The providers for scraping Nyaa for anime.

public

omdb: OMDB

A configured OMDB API.

public

pageSize: Integer

The amount of object show per page.

public

port: Integer

The port on which the API will run on.

public

The name of the server.

public

Map object for correcting show slugs.

public

The name of the status file holding the status value for the index page.

public

The path to the temprary directory..

public

The timezone the conjob will hold.

public

tmdb: TMDB

A configured TMDB API.

public

trakt: Trakt

A configured Trakt API.

public

tvdb: TVDB

A configured TVDB API.

public

The name of the updated file holding the updated value for the index page.

public

The maximum time a web request may take.

public

workers: Integer

The amount of workers on the cluster.

Static Public

public Anime: Anime source

A model object for anime shows.

public Movie: Movie source

A model object for movies.

public Promise: Promise source

import {Promise} from 'popcorn-api/src/config/constants.js'

The promise object to override the mongoose promise object. Default is global.Promise.

public Show: Show source

A model object for shows.

public animeMap: Object source

import {animeMap} from 'popcorn-api/src/config/constants.js'

Map object for correcting anime slugs.

public collections: Array source

import {collections} from 'popcorn-api/src/config/constants.js'

An array of the supported collections for mongodb.

public cronTime: String source

import {cronTime} from 'popcorn-api/src/config/constants.js'

The cron time for scraping torrents. Default is 0 0 *\/6 * * *.

public dbHosts: Array source

import {dbHosts} from 'popcorn-api/src/config/constants.js'

The host of the server of the database. Default is ["localhost"].

public dbName: String source

The name of the database. Default is popcorn.

public extratorrentAnimeProviders: Array source

import {extratorrentAnimeProviders} from 'popcorn-api/src/config/constants.js'

The providers for scraping ExtraTorrent for anime.

public extratorrentMovieProviders: Array source

import {extratorrentMovieProviders} from 'popcorn-api/src/config/constants.js'

The providers for scraping ExtraTorrent for movies.

public extratorrentShowProviders: Array source

import {extratorrentShowProviders} from 'popcorn-api/src/config/constants.js'

The providers for scraping ExtraTorrent for shows.

public fanart: Trakt source

A configured Fanart API.

See:

public katAnimeProviders: Array source

import {katAnimeProviders} from 'popcorn-api/src/config/constants.js'

The providers for scraping KAT for anime.

public katMovieProviders: Array source

import {katMovieProviders} from 'popcorn-api/src/config/constants.js'

The providers for scraping KAT for movies.

public katShowProviders: Array source

import {katShowProviders} from 'popcorn-api/src/config/constants.js'

The providers for scraping KAT for shows.

public master: Boolean source

Check if this instance of the API is the master. Default is true.

public maxWebRequest: Integer source

import {maxWebRequest} from 'popcorn-api/src/config/constants.js'

The maximum web requests can take place at the same time. Default is 2.

public movieMap: Object source

import {movieMap} from 'popcorn-api/src/config/constants.js'

Map object for correcting movie slugs.

public nyaaAnimeProviders: Array source

import {nyaaAnimeProviders} from 'popcorn-api/src/config/constants.js'

The providers for scraping Nyaa for anime.

public omdb: OMDB source

A configured OMDB API.

See:

public pageSize: Integer source

import {pageSize} from 'popcorn-api/src/config/constants.js'

The amount of object show per page. Default is 50.

public port: Integer source

The port on which the API will run on. Default is 5000.

public server: String source

The name of the server. Default is serv01.

public showMap: Object source

import {showMap} from 'popcorn-api/src/config/constants.js'

Map object for correcting show slugs.

public statusFile: String source

import {statusFile} from 'popcorn-api/src/config/constants.js'

The name of the status file holding the status value for the index page. Default is status.json.

public tempDir: String source

import {tempDir} from 'popcorn-api/src/config/constants.js'

The path to the temprary directory.. Default is ./tmp.

public timeZone: String source

import {timeZone} from 'popcorn-api/src/config/constants.js'

The timezone the conjob will hold. Default is America/Los_Angeles.

public tmdb: TMDB source

A configured TMDB API.

See:

public trakt: Trakt source

A configured Trakt API.

See:

public tvdb: TVDB source

A configured TVDB API.

See:

public updatedFile: String source

import {updatedFile} from 'popcorn-api/src/config/constants.js'

The name of the updated file holding the updated value for the index page. Default is lastUpdated.json.

public webRequestTimeout: Integer source

import {webRequestTimeout} from 'popcorn-api/src/config/constants.js'

The maximum time a web request may take. Default is 2 seconds.

public workers: Integer source

import {workers} from 'popcorn-api/src/config/constants.js'

The amount of workers on the cluster. Default is 2.