Ghost Admin API Configuration

https://unpkg.com/@tryghost/content-api@1.2.0/umd/content-api.min.js

i am using it for content api configuration . but how can i configuration with admin api ?

i am trying https://unpkg.com/@tryghost/admin-api@1.2.0/umd/admin-api.min.js

it not works. file not found. please help my to configuration with admin api.

https://docs.ghost.org/api/javascript/#admin-api-client-library

image

when including the GhostAdminAPI, Also Showing Error. What Is My Fault ?

     const GhostAdminAPI = require('@tryghost/admin-api');
     const path = require('path'); 

image

As it says in the page I linked to,

The Admin API client library is designed for integrations that use private API keys, and is for Node.js only.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.