Dela via


The Guardian (Independent Publisher) (Preview)

The Guardian web service has access to all the content the Guardian news organization creates, categorized by tags and section.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor
Website https://www.theguardian.com/
Privacy policy https://www.theguardian.com/info/privacy
Categories Data

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get editions

Retrieve a list of editions

Get item

Retrieve a single item.

Get sections

Retrieve a list of sections.

Get tags

Retrieves a list of tags.

Search content

Retrieve a list of matching content.

Get editions

Retrieve a list of editions

Parameters

Name Key Required Type Description
Query
q string

The search query.

Returns

Name Path Type Description
Status
response.status string

The status.

User Tier
response.userTier string

The user tier.

Total
response.total integer

The total.

Results
response.results array of object
ID
response.results.id string

The identifier.

Path
response.results.path string

The path.

Edition
response.results.edition string

The edition.

Web Title
response.results.webTitle string

The web title.

Web URL
response.results.webUrl string

The web URL address.

API URL
response.results.apiUrl string

The API URL address.

Get item

Retrieve a single item.

Parameters

Name Key Required Type Description
ID
id True string

The identifier.

Returns

Name Path Type Description
Status
response.status string

The status.

User Tier
response.userTier string

The user tier.

Total
response.total integer

The total.

ID
response.content.id string

The identifier.

Type
response.content.type string

The type.

Section ID
response.content.sectionId string

The section identifier.

Section
response.content.sectionName string

The section name.

Web Publication Date
response.content.webPublicationDate string

The web publication date.

Web Title
response.content.webTitle string

The web title.

Web URL
response.content.webUrl string

The web URL address.

API URL
response.content.apiUrl string

The API URL address.

Is Hosted
response.content.isHosted boolean

Whether is hosted.

Pillar ID
response.content.pillarId string

The pillar identifier.

Pillar
response.content.pillarName string

The pillar name.

Get sections

Retrieve a list of sections.

Parameters

Name Key Required Type Description
Query
q string

The search query.

Returns

Name Path Type Description
Status
response.status string

The status.

User Tier
response.userTier string

The user tier.

Total
response.total integer

The total.

Results
response.results array of object
ID
response.results.id string

The identifier.

Web Title
response.results.webTitle string

The web title.

Web URL
response.results.webUrl string

The web URL address.

API URL
response.results.apiUrl string

The API URL address.

Editions
response.results.editions array of object
ID
response.results.editions.id string

The identifier.

Web Title
response.results.editions.webTitle string

The web title.

Web URL
response.results.editions.webUrl string

The web URL address.

API URL
response.results.editions.apiUrl string

The API URL address.

Code
response.results.editions.code string

The code.

Get tags

Retrieves a list of tags.

Parameters

Name Key Required Type Description
Query
q string

The search query.

Web Title
web-title string

The web title.

Type
type string

The type.

Section
section string

The section.

Reference
reference string

The reference.

Reference Type
reference-type string

The reference type.

Page
page integer

The page number.

Page Size
page-size integer

The page size.

Show References
show-references string

The show references.

Returns

Name Path Type Description
Status
response.status string

The status.

User Tier
response.userTier string

The user tier.

Total
response.total integer

The total.

Start Index
response.startIndex integer

The start index.

Page Size
response.pageSize integer

The page size.

Current Page
response.currentPage integer

The current page.

Pages
response.pages integer

The number of pages.

Results
response.results array of object
ID
response.results.id string

The identifier.

Type
response.results.type string

The type.

Web Title
response.results.webTitle string

The web title.

Web URL
response.results.webUrl string

The web URL address.

API URL
response.results.apiUrl string

The API URL address.

Section ID
response.results.sectionId string

The section identifier.

Section
response.results.sectionName string

The section name.

Search content

Retrieve a list of matching content.

Parameters

Name Key Required Type Description
Query
q True string

The search query.

Query Fields
query-fields string

The query fields.

Section
section string

The section.

Reference
reference string

The reference.

Reference Type
reference-type string

The reference type.

Tag
tag string

The tag.

Rights
rights string

The rights.

IDs
ids string

The identifiers.

Production Office
production-office string

The production office.

Language
lang string

The language.

Star Rating
star-rating integer

The star rating.

From Date
from-date string

The from date.

To Date
to-date string

The date.

Use Date
use-date string

The use date.

Page
page integer

The page number.

Page Size
page-size integer

The page size.

Order By
order-by string

The order by.

Order Date
order-date string

The order date.

Show Fields
show-fields string

The fields to show.

Trail Text
trailText string

The trail text.

Headline
headline string

The headline.

Show Related Content
showInRelatedContent string

Whether to show related content.

Body
body string

The body.

Last modified
lastModified string

When last modified.

Story Package
hasStoryPackage string

Whether has story package.

Score
score string

The score.

Stand First
standfirst string

The stand first.

Short URL
shortUrl string

The short URL address.

Thumbnail
thumbnail string

The thumbnail.

Word Count
wordcount string

The word count.

Commentable
commentable string

Whether commentable.

Premoderated
isPremoderated string

Whether is premoderated.

Allow UGC
allowUgc string

Whether to allow user generated content (UGC).

Byline
byline string

The byline.

Publication
publication string

The publication.

Internal Page Code
internalPageCode string

The internal page code.

Production Office
productionOffice string

The production office.

Hide Adverts
shouldHideAdverts string

Whether should hide adverts.

Live Blogging Now
liveBloggingNow string

Whether live blogging now.

Comment Close Date
commentCloseDate string

The comment close date.

Show Tags
show-tags string

The show tags.

Show Section
show-section string

Whether to show section.

Show Blocks
show-blocks string

The show blocks.

Show Elements
show-elements string

The show elements.

Show References
show-references string

The show references.

Show Rights
show-rights string

The show rights.

Returns

Name Path Type Description
Status
response.status string

The status.

User Tier
response.userTier string

The user tier.

Total
response.total integer

The total.

Start Index
response.startIndex integer

The start index.

Page Size
response.pageSize integer

The page size.

Current Page
response.currentPage integer

The current page.

Pages
response.pages integer

The number of pages.

Order By
response.orderBy string

The order by.

Results
response.results array of object
ID
response.results.id string

The identifier.

Type
response.results.type string

The type.

Section ID
response.results.sectionId string

The section identifier.

Section
response.results.sectionName string

The section name.

Web Publication Date
response.results.webPublicationDate string

The web publication date.

Web Title
response.results.webTitle string

The web title.

Web URL
response.results.webUrl string

The web URL address.

API URL
response.results.apiUrl string

The API URL address.

Is Hosted
response.results.isHosted boolean

Whether is hosted.

Pillar ID
response.results.pillarId string

The pillar identifier.

Pillar
response.results.pillarName string

The pillar.