MOST-COMMENTED ENDPOINT
To get a list of pages (called 'topics' internally) with the most comments, you can query our API directly:
Request
GET https://app.civilcomments.com/api/v1/topics/most_commented.json?publication_slug=####&days_since=90
Days_since defaults to 30.
Response
{
"topics": [
{
"id": 1652,
"url": "http://www.wweek.com/2015/10/21/portland-i-love-you-but-youre-forcing-me-out/",
"title": "Portland, I Love You but You’re Forcing Me Out",
"created_at": "2015-10-21T08:07:16.000Z",
"comments_count": 615
},
{
"id": 1574,
"url": "http://www.wweek.com/2015/10/07/portland-public-schools-orders-choirs-to-stop-singing-at-the-grotto/",
"title": "Portland Public Schools Orders Choirs to Stop Singing at the Grotto",
"created_at": "2015-10-07T15:08:31.000Z",
"comments_count": 412
},
{
"id": 1816,
"url": "http://www.wweek.com/2015/11/17/governor-brown-announces-oregon-will-continue-to-take-refugees-in-wake-of-paris-terrorist-attack/",
"title": "Gov. Kate Brown Says Oregon Will Accept Syrian Refugees In Wake of Paris Terrorist Attacks",
"created_at": "2015-11-17T20:19:48.000Z",
"comments_count": 286
},
{
"id": 1571,
"url": "http://www.wweek.com/2015/10/07/the-recruit/",
"title": "The Recruit",
"created_at": "2015-10-07T13:35:51.000Z",
"comments_count": 217
},
{
"id": 26,
"url": "http://www.wweek.com/2015/11/28/wilson-high-school-teacher-pushes-school-to-acknowledge-namesakes-racist-sexist-views/",
"title": "Wilson High School Teacher Pushes School to Acknowledge Namesake’s Racist, Sexist Views",
"created_at": "2015-11-28T17:12:39.000Z",
"comments_count": 126
}
]
}