Apple News API PHP Client

Components

Table of Contents

Classes

ARKit
ARKit component for augmented reality experiences.
ArticleLink
Article link component.
ArticleThumbnail
Article thumbnail component for custom feed images.
ArticleTitle
Article title component with enhanced formatting options.
Aside
Aside container component.
Audio
Audio component for audio content playback.
Author
Author name component.
BannerAdvertisement
Banner advertisement component.
Body
The standard text component for body paragraphs.
Byline
Byline component for publication date and contributor credits.
Caption
A standard text component for captions.
Chapter
Chapter container component.
Component
Base class for all Apple News Format (ANF) components.
Container
A container component used to group other components together.
DataTable
DataTable component for structured tabular data.
Divider
A visual separator line used between other components.
EmbedWebVideo
Embeds third-party video content (YouTube, Vimeo, etc.).
FacebookPost
Component for embedding Facebook posts.
Figure
Figure component for images with semantic meaning.
FlexibleSpacer
Flexible spacer component for dynamic spacing in horizontal stacks.
Gallery
Component for displaying a collection of images as a gallery.
Header
Header container component.
Heading
A heading component (supports levels 1 through 6).
HTMLTable
HTMLTable component for HTML-formatted tables.
Illustrator
Illustrator credit component.
Image
Generic image component.
Instagram
Component for embedding Instagram posts.
Intro
Introductory or deck text component.
LinkButton
A call-to-action button that links to an external URL or article section.
LiveContainer
Live Coverage container component.
LivePost
Live Coverage post component.
Logo
Logo component for brand or publication logos.
Map
Map component for displaying Apple Maps.
MediumRectangleAdvertisement
Medium rectangle advertisement component (MREC).
Mosaic
Mosaic component for multi-image tile layouts.
Music
Music component for Apple Music integration.
Photo
Component for displaying single images in an article.
Photographer
Photographer credit component.
Place
Place component for displaying a specific location.
Podcast
Podcast component for Apple Podcasts integration.
Portrait
Portrait component for face-optimized image cropping.
Pullquote
Component for highlighting a quote within an article.
Quote
Block quote component.
ReplicaAdvertisement
Replica advertisement component.
Section
Section container component.
TextComponent
Base class for all components that primarily contain text content.
TikTok
TikTok component for embedding TikTok videos.
Title
The main title component for an article.
Tweet
Component for embedding X/Twitter posts.
Video
Component for displaying native hosted videos.

        
On this page

Search results