Samples featured on the Online Demo of the Picturepark Content Platform. This public online demo provides you with various samples of how a virtual organization which we have named the Fine Organic Foods Association (FOFA) supports its stakeholders (organic farmers and retailers) with unified access to product data, content logistics and up-to-date marketing resources.
git clone https://github.com/Picturepark/Picturepark.SDK.Samples.gitSamples featured on the Online Demo of the Picturepark Content Platform. This public online demo provides you with various samples of how a virtual organization which we have named the Fine Organic Foods Association (FOFA) supports its stakeholders (organic farmers and retailers) with unified access to product data, content logistics and up-to-date marketing resources.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/Picturepark/Picturepark.SDK.SamplesCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a code sample for integrating the Picturepark SDK with [COMPANY]'s [INDUSTRY] platform. Focus on [SPECIFIC_FUNCTIONALITY], such as content retrieval, metadata management, or asset distribution. Provide a step-by-step implementation guide with explanations.
# Picturepark SDK Integration for Organic Retailer Portal
## Overview
This sample demonstrates how to integrate the Picturepark SDK into an organic retailer portal to fetch and display product images and metadata.
## Prerequisites
- Picturepark SDK installed
- Valid API credentials
- Basic understanding of C#
## Implementation Steps
### Step 1: Initialize the SDK
```csharp
using Picturepark.SDK;
using Picturepark.SDK.Models;
var client = new PictureparkClient("https://api.picturepark.com", "your-api-key");
```
### Step 2: Fetch Product Images
```csharp
var collection = client.Collections.GetById("organic-products");
var assets = collection.Assets.GetAll();
foreach (var asset in assets)
{
var imageUrl = asset.GetDownloadUrl();
var metadata = asset.GetMetadata();
// Display image and metadata on the portal
}
```
### Step 3: Handle Metadata
```csharp
var productMetadata = new Dictionary<string, object>
{
{ "productId", "ORG-1001" },
{ "name", "Organic Apples" },
{ "description", "Fresh organic apples from local farms" },
{ "price", 2.99 }
};
asset.SetMetadata(productMetadata);
```