The ART19 Content API conforms to the JSON:API specification. API requests MUST use the HTTP Accept header: Accept: application/vnd.api+json API requests MUST be authenticated using the HTTP...
Bring your own key. This API needs your own ART19 Content API Documentation key - get one from the provider, add it once below, and the proxy injects it on every call. Your OmniStream plan covers the unified SDK, key storage, and proxy - the provider's own rate limits still apply to your key.
This is a community listing. If you own this API, you can request ownership.
npm install omnistream-sdkimport { OmniClient } from "omnistream-sdk";
const omni = new OmniClient({ token: process.env.OMNI_KEY! });
// One key reaches every API on the marketplace.
const data = await omni.call("art19/getclassification_inclusions");One install, one key - the same client calls every API on the marketplace.
The list of IDs to filter by. Repeat this parameter for each ID you want to include in the filter. The brackets *MUST* be percent-encoded, per the requirements in [RFC 3986 § 3.4](https://tools.ietf.org/html/rfc3986#section-3.4).
Select which page number to receive results for. Pages are numbered starting at 1.
Indicate how many records to return per page. The maximum is 100.
Limit the result to classification inclusions linked to a classification with this ID.
The type of classification that the classification inclusions are linked to. Depending on the permissions of your credential, only a subset of these types are usable.
Limit the result to classification inclusions linked to a resource with this ID. You will have to use this filter together with either `classified_type` or `classification_type`.
Limit the result to classification inclusions linked to this type of entity.
Limit the result to classification inclusions linked to a classification containing the parameter value disregarding case.
Specify how to sort the result. Please refer to either the top section or the [JSON:API specification](https://jsonapi.org/format/#fetching-sorting) on how sorting works in general.
Get ClassificationInclusion records
Get a specific classification inclusion
Get a list of classifications
Get a specific classification
Get a list of credits
/**
* ART19ContentAPIDocumentation - generated by OmniStream from ART19 Content API Documentation's OpenAPI spec.
* One typed method per endpoint. A single Omni key reaches the API.
*/
const DEFAULT_BASE = "https://grid.skinvaults.online/v1/proxy/art19";
export class ART19ContentAPIDocumentationError extends Error {
status: number;
code?: string;
constructor(status: number, code: string | undefined, message?: string) {
super(message || `ART19ContentAPIDocumentation error ${status}`);
this.name = "ART19ContentAPIDocumentationError";
this.status = status;
this.code = code;
}
}
export interface ART19ContentAPIDocumentationOptions {
baseUrl?: string;
fetch?: typeof fetch;
timeoutMs?: number;
}
export class ART19ContentAPIDocumentation {
/** @param token Your OmniStream key (one key for every API). */
constructor(private token: string, private opts: ART19ContentAPIDocumentationOptions = {}) {
if (!token) throw new Error("ART19ContentAPIDocumentation: token is required");
}
rateLimit: { remainingMinute?: number; remainingDay?: number } | null = null;
private async _request(method: string, path: string, { params, body }: { params?: Record<string, unknown>; body?: unknown } = {}): Promise<any> {
const f = this.opts.fetch ?? globalThis.fetch;
const url = new URL((this.opts.baseUrl ?? DEFAULT_BASE).replace(/\/+$/, "") + path);
if (params) for (const [k, v] of Object.entries(params)) if (v != null) url.searchParams.set(k, String(v));
const headers: Record<string, string> = { "x-omni-key": this.token };
if (body !== undefined) headers["content-type"] = "application/json";
const res = await f(url, { method, headers, body: body !== undefined ? JSON.stringify(body) : undefined });
this.rateLimit = {
remainingMinute: Number(res.headers.get("x-ratelimit-remaining-minute")) || undefined,
remainingDay: Number(res.headers.get("x-ratelimit-remaining-day")) || undefined,
};
const data = await res.json().catch(() => ({}));
if (!res.ok) throw new ART19ContentAPIDocumentationError(res.status, data?.error?.code, data?.error?.message);
return data.data ?? data;
}
/** Get ClassificationInclusion records */
getclassificationInclusions(params: { "ids[]"?: unknown[]; "page[number]"?: number; "page[size]"?: number; "classification_id"?: string; "classification_type"?: string; "classified_id"?: string; "classified_type"?: string; "q"?: string; "sort"?: unknown[] }): Promise<any> {
return this._request("GET", "/classification_inclusions", { params });
}
/** Get a specific classification inclusion */
getclassificationInclusionsId(params: { "id": string }): Promise<any> {
return this._request("GET", "/classification_inclusions/{id}", { params });
}
/** Get a list of classifications */
getclassifications(params: { "ids[]"?: unknown[]; "page[number]"?: number; "page[size]"?: number; "type"?: string; "q"?: string; "is_country"?: string; "sort"?: unknown[] }): Promise<any> {
return this._request("GET", "/classifications", { params });
}
/** Get a specific classification */
getclassificationsId(params: { "id": string }): Promise<any> {
return this._request("GET", "/classifications/{id}", { params });
}
/** Get a list of credits */
getcredits(params: { "ids[]"?: unknown[]; "page[number]"?: number; "page[size]"?: number; "creditable_id"?: string; "creditable_type"?: string; "sort"?: unknown[] }): Promise<any> {
return this._request("GET", "/credits", { params });
}
/** Get a specific credit */
getcreditsId(params: { "id": string }): Promise<any> {
return this._request("GET", "/credits/{id}", { params });
}
/** Get a list of episodes */
getepisodes(params: { "page[number]": number; "page[size]": number; "ids[]"?: unknown[]; "included_in_inventory_calendar"?: string; "month"?: string; "published"?: boolean; "q"?: string; "released_after"?: string; "released_before"?: string; "rss"?: boolean; "season_id"?: string; "series_id"?: string; "sort"?: unknown[]; "year"?: string }): Promise<any> {
return this._request("GET", "/episodes", { params });
}
/** Get a specific episode */
getepisodesId(params: { "id": string }): Promise<any> {
return this._request("GET", "/episodes/{id}", { params });
}
/** Get the episode released right after the specified one */
getepisodesIdNextSibling(params: { "id": string; "rss"?: boolean }): Promise<any> {
return this._request("GET", "/episodes/{id}/next_sibling", { params });
}
/** Get the episode released right before the specified one */
getepisodesIdPreviousSibling(params: { "id": string; "rss"?: boolean }): Promise<any> {
return this._request("GET", "/episodes/{id}/previous_sibling", { params });
}
/** Get a list of images */
getimages(params: { "ids[]": unknown[] }): Promise<any> {
return this._request("GET", "/images", { params });
}
/** Get a specific image */
getimagesId(params: { "id": string }): Promise<any> {
return this._request("GET", "/images/{id}", { params });
}
/** Get a list of media assets */
getmediaAssets(params: { "ids[]": unknown[] }): Promise<any> {
return this._request("GET", "/media_assets", { params });
}
/** Get a specific media asset */
getmediaAssetsId(params: { "id": string }): Promise<any> {
return this._request("GET", "/media_assets/{id}", { params });
}
/** Get a list of networks */
getnetworks(params: { "ids[]"?: unknown[]; "page[number]"?: number; "page[size]"?: number; "q"?: string; "ad_rep_account_id"?: string; "ad_deal_status"?: unknown[]; "sort"?: unknown[] }): Promise<any> {
return this._request("GET", "/networks", { params });
}
/** Get a specific network */
getnetworksId(params: { "id": string }): Promise<any> {
return this._request("GET", "/networks/{id}", { params });
}
/** Get a list of people */
getpeople(params: { "ids[]"?: unknown[]; "page[number]"?: number; "page[size]"?: number; "q"?: string; "sort"?: unknown[] }): Promise<any> {
return this._request("GET", "/people", { params });
}
/** Get a specific person */
getpeopleId(params: { "id": string }): Promise<any> {
return this._request("GET", "/people/{id}", { params });
}
/** Get a list of seasons */
getseasons(params: { "ids[]"?: unknown[]; "page[number]"?: number; "page[size]"?: number; "series_id"?: string; "q"?: string; "sort"?: unknown[] }): Promise<any> {
return this._request("GET", "/seasons", { params });
}
/** Get a specific season */
getseasonsId(params: { "id": string }): Promise<any> {
return this._request("GET", "/seasons/{id}", { params });
}
/** Get a list of series */
getseries(params: { "ids[]"?: unknown[]; "page[number]"?: number; "page[size]"?: number; "ad_rep_account_id"?: string; "network_id"?: string; "q"?: string; "sort"?: unknown[] }): Promise<any> {
return this._request("GET", "/series", { params });
}
/** Get a specific series */
getseriesId(params: { "id": string }): Promise<any> {
return this._request("GET", "/series/{id}", { params });
}
}
export default ART19ContentAPIDocumentation;
No reviews yet. Be the first to rate this API.
Yes. ART19 Content API Documentation uses apiKey authentication, so you bring your own key from the provider. You store it once on OmniStream and the proxy injects it into every call, so your code only ever sends your Omni key.
The ART19 Content API conforms to the JSON:API specification. API requests MUST use the HTTP Accept header: Accept: application/vnd.api+json API requests MUST be authenticated using the HTTP... It exposes 22 endpoints over GET, including GET /classification_inclusions, GET /classification_inclusions/{id}, GET /classifications.
Install the OmniStream SDK for your language and call ART19 Content API Documentation through it. The client is generated from this API's OpenAPI spec, so parameters and responses are fully typed, and the same client also calls every other API in the marketplace.
You can start on the free plan. OmniStream charges for the unified SDK, key storage and proxy rather than for ART19 Content API Documentation itself, and ART19 Content API Documentation's own rate limits still apply to your provider key.
DEV Community: Access Forem and DEV Community articles, users, comments, and other resources via a simple REST API.
Get a specific credit
Get a list of episodes
Get a specific episode
Get the episode released right after the specified one
Get the episode released right before the specified one
Get a list of images
Get a specific image
Get a list of media assets
Get a specific media asset
Get a list of networks
Get a specific network
Get a list of people
Get a specific person
Get a list of seasons
Get a specific season
Get a list of series
Get a specific series