Application
Table of Contents
Classes
- AppleNewsClient
- Apple News Publisher API Client.
- Authenticator
- Handles HMAC-SHA256 authentication for Apple News API requests.
- Article
- Represents an Apple News Format (ANF) article document.
- Body
- The standard text component for body paragraphs.
- Caption
- A standard text component for captions.
- Component
- Base class for all Apple News Format (ANF) components.
- Container
- A container component used to group other components together.
- Divider
- A visual separator line used between other components.
- EmbedWebVideo
- Embeds third-party video content (YouTube, Vimeo, etc.).
- FacebookPost
- Component for embedding Facebook posts.
- Gallery
- Component for displaying a collection of images as a gallery.
- Heading
- A heading component (supports levels 1 through 6).
- Instagram
- Component for embedding Instagram posts.
- LinkButton
- A call-to-action button that links to an external URL or article section.
- Photo
- Component for displaying single images in an article.
- Pullquote
- Component for highlighting a quote within an article.
- TextComponent
- Base class for all components that primarily contain text content.
- Title
- The main title component for an article.
- Tweet
- Component for embedding X/Twitter posts.
- Video
- Component for displaying native hosted videos.
- Layout
- Defines the column system and base grid for an article.
- Metadata
- Article metadata for Apple News Format.
- ComponentTextStyle
- Detailed text styling options for components.
- DocumentStyle
- Global styles applied to the entire article document.
- AppleNewsException
- Base exception class for all errors returned by the Apple News API.
- AuthenticationException
- Exception thrown specifically when API authentication fails (401/403 errors).
- MultipartBuilder
- Builds multipart/form-data request bodies for the Apple News API.