A Roku content API and website home page for a fashion TV channel

The API behind a fashion channel's Roku app, built to the channel's content plan, with Roku ad settings and a website home page on the same data.

  • PHP
  • CodeIgniter 3
  • REST API
  • VAST
  • Roku Advertising Framework
  • PHPUnit
Fashion streaming channel home page with a featured runway show and a menu of seasons, designers and cities
Client
Fashion runway TV channel
Scope
The content API and its documentation for the channel's Roku developer, plus the website home page
Catalog
About 2,000 runway videos, organized by season, city, designer and event
Ads
Server-side settings for the Roku app: VAST tag, pre-roll and a mid-roll break every 10 minutes
Quality
Unit tests for the home-row rules and the website's JavaScript

Screens from the project

The brief

A fashion TV channel streams runway shows from the big fashion weeks, by season, city, designer and event. Its Roku app is built by a separate Roku developer; the channel asked us for the Roku content API behind it. The API had to serve the home screen, the browse tabs and the detail pages exactly as the channel’s content plan laid them out: a workbook listing the home rows, the order of seasons and cities, which videos to feature and the quality rules every screen must pass.

There were three constraints. The Roku app was already reading the API, so no response could change its shape. The website home page had to show the same rows as the TV. And video ads were for Roku only, with settings the channel could change without waiting for a new Roku build.

What we built

Home rows that follow the content plan. Featured titles first, then rows by season, city, designer and event. A video or designer shown in one row is not repeated in the rows below it, each row stops at 15 items, and a View All endpoint serves the rest. Seasons run newest first and cities follow the channel’s priority list, both set in one place.

Browse pages. Tabs for seasons, designers from A to Z, city regions and events, season pages with one carousel per city, and city, designer and event pages.

Roku ad settings. An endpoint the Roku app reads before playback: whether ads are on, the VAST tag, whether to play a pre-roll, and the mid-roll interval. We documented the rules for the Roku developer (a break each time playback passes the interval, none in the last 60 seconds) and every macro in the ad tag, with the Roku device call or Roku Advertising Framework value that fills it, including the advertising ID and the viewer’s limit-ad-tracking choice.

The website home page. A new home page with the same tabs, pages and rows as the TV, reading the same endpoints. A single setting switches back to the old home page if the channel ever needs it.

Documentation. A written guide to every endpoint, its parameters and its responses, so the Roku developer works from the document rather than from guesses.

How it works

The site and API run on CodeIgniter 3 with PHP. The content-plan rules live in one library with unit tests, so a change to the plan is a change in one place with tests to show nothing else moved. The endpoints keep the response format the Roku app already parses; new fields were added, none removed or renamed.

The website reads the browse endpoints without the app’s API key, while every other endpoint still requires it. Ad settings are stored on the server, so the channel can turn ads off, change the tag or retime the breaks without a Roku release.

This is the kind of backend work behind most of our OTT platform development projects, and it pairs with our Roku channel development service when a client wants the app built too.

The result

The channel’s Roku developer builds against one documented content API. The home screen and browse pages follow the content plan from the server, without hand-editing rows, and the website home page shows the same programming as the TV. Ads can be switched on, retagged or retimed from the server, with the privacy signals Roku requires already mapped.

If you run a channel on Roku or another TV platform and need the backend, the API or the ad setup, send us your content plan.

Services in this project

More case studies

Full portfolio
  • TScreen TV dashboard editing a lunch menu design with a live preview

    Case study: Digital signage product built by our team

    TScreen TV cloud digital signage platform

    One web dashboard and players for Roku, Android TV, Fire TV, Samsung, LG and browsers: menus, ads with proof of play, live scores and zones.

    • Next.js
    • Prisma
    • BrightScript and SceneGraph
    • Kotlin and Jetpack Compose
    • Tizen and webOS
    • PayPal and Razorpay
  • Grocery price comparison page listing nearby store prices after a postal code search

    Case study: Grocery delivery platform

    Quick commerce grocery delivery platform

    Customer web and mobile apps, an admin dashboard, a vendor panel and a delivery partner app for a grocery delivery platform, on one real-time backend.

    • React
    • React Native
    • Node.js and Express
    • PostgreSQL
    • WebSockets
    • Firebase
    • AWS and Vercel
  • GoHighLevel workflow that emails a feedback request and follows up after three days

    Case study: SaaS company reselling GoHighLevel under its own brand

    Support and A2P automation for a white-label CRM provider

    Support tickets with SLA due dates and satisfaction surveys, plus one onboarding form for A2P registration, built in GoHighLevel for a white-label provider.

    • GoHighLevel
    • Workflows
    • Forms and tags
    • Pipelines
    • Email surveys
  • Smart TV streaming app with rows of films and series and a video player

    Case study: Spanish-language streaming brand

    Samsung and Vizio TV apps for a streaming brand

    VAST ad breaks in a Samsung Tizen app, and episode navigation, text-to-speech and faster rows in a Vizio SmartCast app, for one streaming brand.

    • Samsung Tizen
    • Vizio SmartCast
    • VAST
    • JavaScript
    • Text-to-speech
    • Headless Chrome tests
  • TotalVdo streaming admin dashboard with notification, ad, device and app theme counts

    Case study: Our own product, customized for each broadcaster

    Video streaming CMS with VAST ad management

    Our own CMS for streaming services: movies, TV series, live feeds, members and VAST ad tags, managed in one admin panel that feeds web, mobile and TV apps.

    • Video CMS
    • VAST ad tags
    • Live channels
    • Membership plans
    • Admin roles
    • API for apps
  • Lightning striking over a field during a heavy storm

    Case study: Disaster monitoring and response

    Multi-tenant disaster alert system on AWS

    Real-time alerts for wildfires, hurricanes and earthquakes, with ArcGIS maps and Slack notifications, for many organizations on one AWS platform.

    • React and TypeScript
    • Node.js and Express
    • AWS Lambda
    • DynamoDB
    • SNS, SQS and EventBridge
    • ArcGIS API
    • Slack Bolt
    • AWS CDK
  • GoHighLevel workflow routing seven form types to tagged, audience-specific follow-up emails

    Case study: Professional association in the property sector

    Lead intake and nurture flow for a property-sector association

    A GoHighLevel flow that tags each landing page lead by audience, sends a matching thank-you email and invites them to continue on Instagram through ManyChat.

    • GoHighLevel
    • Workflows
    • Forms
    • Email
    • ManyChat
    • Instagram