Modules@robinpath/contentful

@robinpath/contentful

0.1.0Public

Contentful module for RobinPath.

@robinpath/contentful

Contentful module for RobinPath.

Category Functions Auth License

Why use this module?

The contentful module lets you:

  • listEntries
  • getEntry
  • createEntry
  • updateEntry
  • deleteEntry

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/contentful

Quick Start

1. Set up credentials

contentful.setCredentials "your-credentials"

2. listEntries

contentful.listEntries

Available Functions

FunctionDescription
contentful.setCredentialsConfigure contentful credentials.
contentful.listEntrieslistEntries
contentful.getEntrygetEntry
contentful.createEntrycreateEntry
contentful.updateEntryupdateEntry
contentful.deleteEntrydeleteEntry
contentful.publishEntrypublishEntry
contentful.unpublishEntryunpublishEntry
contentful.listAssetslistAssets
contentful.getAssetgetAsset
contentful.createAssetcreateAsset
contentful.publishAssetpublishAsset
contentful.listContentTypeslistContentTypes
contentful.getContentTypegetContentType
contentful.createContentTypecreateContentType
contentful.listEnvironmentslistEnvironments
contentful.getSpacegetSpace
contentful.searchEntriessearchEntries
contentful.listLocaleslistLocales
contentful.getWebhooksgetWebhooks
contentful.archiveEntryarchiveEntry

Examples

listEntries

contentful.listEntries

getEntry

contentful.getEntry

createEntry

contentful.createEntry

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/contentful";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  contentful.setCredentials "your-credentials"
  contentful.listEntries
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.0latestyesterday
Install
$ robinpath install @robinpath/contentful
Version0.1.0
LicenseMIT
Unpacked Size4.6 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

productivity