uAPI usage examples

This page collects practical scenarios where the API speeds up everyday site tasks: talking to visitors, navigating content, and updating user profiles.

Scenario 01

Quick comments

Visitors can leave quick comments directly from the publication feed without reloading the page or opening the full material page.

Download example archive

Setup instructions are inside the example archive.

Scenario 02

Live site-wide search

Search queries site data on the fly and shows suggestions while the user types. This reduces dead-end navigation and helps visitors reach the right section, article, or product card faster.

Download example archive

Setup instructions are inside the example archive.

Scenario 03

Change user nickname on profile page

The profile page can show a dedicated button that opens a uAPI-powered UI and applies the new name immediately. This makes account settings clear for end users.

Download example archive

Setup instructions are inside the example archive.

Scenario 04

Autopost from Telegram channel to Blog module

A Telegram bot watches new posts in the official @UcozNews channel; a VPS service receives events and uses UAPI to publish entries to the official Ucoz blog. The site then automatically creates Blog module posts with the same title and body as in the channel.

Download example archive

Setup instructions are inside the example archive.