Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WebContentPublisher

import { WebContentPublisher } from "https://googleapis.deno.dev/v1/webcontentpublisher:v1.ts";

webcontentpublisher.googleapis.com API, a service for web content publishers.

class WebContentPublisher {
constructor(client?: CredentialsClient, baseUrl?: string);
async publicationsCheckFreeAccess(name: string, opts?: PublicationsCheckFreeAccessOptions): Promise<CheckFreeAccessResponse>;
}

§Constructors

§
new WebContentPublisher(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
publicationsCheckFreeAccess(name: string, opts?: PublicationsCheckFreeAccessOptions): Promise<CheckFreeAccessResponse>
[src]

Checks if a user is eligible for free article access.

@param name

Required. The resource name of the publication. Format: publications/{publication_id}