Index
@venuecms/sdk-next
@venuecms/sdk-next
Configuration
Allows you to pass in the siteKey and API key manually in case you want it to be dynamically set. If you don't use this function, the SDK will default to using process.env.VENUE_SITE_KEY and process.env.VENUE_API_KEY instead.
Sites
Get the site configured via the siteKey
Get the siteKey and site id from a domain name.
Search a site for all content types
Events
Retrieve data for a single event
-
Pages
Get a single page using the slug
Get a list of all pages
Profiles
Get a profile
Get a listing of events for a profile
Get a list of profiles
Products
Get a product
Get a listing of products
Utilities
This function will properly resolve content blocks that are localized. It takes in the array of localized content and returns the proper content to be used in your page.
Other
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Last updated