1.0.20220613 • Published 2 years ago

@maxim_mazurok/gapi.client.webfonts v1.0.20220613

Weekly downloads
74
License
MIT
Repository
github
Last release
2 years ago

TypeScript typings for Web Fonts Developer API v1

The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google. For detailed description please check documentation.

Installing

Install typings for Web Fonts Developer API:

npm install @types/gapi.client.webfonts@v1 --save-dev

Usage

You need to initialize Google API client in your code:

gapi.load('client', () => {
  // now we can use gapi.client
  // ...
});

Then load api client wrapper:

gapi.client.load('webfonts', 'v1', () => {
  // now we can use gapi.client.webfonts
  // ...
});

After that you can use Web Fonts Developer API resources:

/*
Retrieves the list of fonts currently served by the Google Fonts Developer API.
*/
await gapi.client.webfonts.webfonts.list({  });
1.0.20220613

2 years ago

1.0.20220601

2 years ago

1.0.20220319

2 years ago

1.0.20220415

2 years ago

1.0.20220425

2 years ago

1.0.20220107

2 years ago

1.0.20220215

2 years ago

1.0.20220105

2 years ago

1.0.20211105

2 years ago

1.0.20211213

2 years ago

1.0.20211102

3 years ago

1.0.20211005

3 years ago

1.0.20210928

3 years ago

1.0.20210913

3 years ago

1.0.20210831

3 years ago

1.0.20210822

3 years ago

1.0.20210731

3 years ago

1.0.20210803

3 years ago

1.0.20210629

3 years ago

1.0.20210424

3 years ago

1.0.20210410

3 years ago

1.0.20210326

3 years ago

1.0.20210213

3 years ago

1.0.20210206

3 years ago

1.0.20210120

3 years ago

1.0.20201207

3 years ago

1.0.20201015

3 years ago