Getting comments from the article

83 views
Skip to first unread message

Armen Ayvazyan

unread,
Apr 29, 2019, 10:07:43 PM4/29/19
to Guardian Open Platform API Forum
Hello, I'd like to retrieve comments for given article.
I get the article and its metadata (fields) using content API (https://open-platform.theguardian.com/documentation/search).
My feeling that I could use trailing part of "shortURL" field (https://gu.com/p/VALUE) to construct query: http://discussion.theguardian.com/discussion-api/discussion//p/VALUE.
However most of the time it returns with DISCUSSION_NOT_FOUND error.
I think this is because discussion is closed, but not sure here.
Is there any way to get to discussion from fields of an item returned by content endpoint (https://open-platform.theguardian.com/documentation/search)?

Diana Gabrielyan

unread,
Apr 30, 2019, 1:23:23 AM4/30/19
to guardian...@googlegroups.com
As far as I know Guardian article’s comments are not available at all. 
--
You received this message because you are subscribed to the Google Groups "Guardian Open Platform API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guardian-api-t...@googlegroups.com.
To post to this group, send email to guardian...@googlegroups.com.
Visit this group at https://groups.google.com/group/guardian-api-talk.
For more options, visit https://groups.google.com/d/optout.

Hannah Bunt

unread,
Jun 23, 2022, 10:25:55 AM6/23/22
to Guardian Open Platform API Forum
Hi! I am currently working on a student project for which I would like to scrape Guardian comments. Have you eventually managed to retrieve comments through The Guardian's API at all? If so, would you mind sharing what you've done? 

Thanks in advance! 

Op dinsdag 30 april 2019 om 04:07:43 UTC+2 schreef arme...@gmail.com:

Guardian Open Platform API Forum

unread,
Jun 24, 2022, 8:03:44 AM6/24/22
to Guardian Open Platform API Forum
Hi there,

I am afraid that the discussion around an article are not part of the Guardian's Open Platform.

Best wishes,

David

Reply all
Reply to author
Forward
0 new messages