AP Newsroom logo
Module configuration
Clone content

AP Media API Integrator module provide developer service to easily integrate Ap newsroom APIs. This module also provide dashboard to search, filter and clone AP content.

For more details visit :-
https://developer.ap.org/

How to use

  1. Install module as usual. Click here to know steps for module installation
  2. Configure module in /admin/config/services/ap_newsroom.
    Provide API key and API version can be left empty(recommended) to use latest version.

How it works

Module services

AP Media API Integrator module provide developer services for different endpoints of AP newsroom.

Example of account Service
Drupal::service("ap_newsroom.ap_newsroom_account_service")->getApNewsroomApi();

For different endpoints details visit :- AP Newsroom swagger

  1. ApNewsroomAccount provide functions to get your account details.
  2. ApNewsroomContent provide functions to get content from AP newsroom.

Clone AP content in Drupal

Use sub-module Ap newsroom clone. This module provides dashboard and clone functionality for editorial teams to re-purpose AP content in any drupal content type.

For mapping AP content to drupal content type refer to Readme and example_config/ap_newsroom_clone.field_mapping.yml configuration.

Supporting organizations: 

Project information

Releases