GET
/v1/papers/{id}/textPro Plus keyA paper's full text, in parts of 30,000 characters. It needs a Pro Plus key; without one it answers upgrade_required.
Parameters
| Name | Type | Default | What it is |
|---|---|---|---|
part | whole number | 1 | Which part, from 1 |
Any other parameter is refused with unknown_parameter, naming the ones this endpoint takes.
Request
curl -H "Authorization: Bearer $COUNCILMONITOR_KEY" \
"https://api.councilmonitor.co.uk/v1/papers/pp_7e9b95j6/text?part=1"
import requests
r = requests.get("https://api.councilmonitor.co.uk/v1/papers/pp_7e9b95j6/text?part=1",
headers={"Authorization": "Bearer " + key})
print(r.json())
const r = await fetch("https://api.councilmonitor.co.uk/v1/papers/pp_7e9b95j6/text?part=1", {
headers: { Authorization: `Bearer ${key}` }
});
console.log(await r.json());
Answer
200 OKA real answer from today's archive, shortened for this page: lists show their first few and long text its opening.
{
"data": {
"id": "pp_7e9b95j6",
"part": 1,
"parts": 1,
"characters": 13025,
"text": "ANNEX\n COMMUNITIES SCOTLAND’S INVESTMENT PROGRAMME 2007/2008\nBute & Cowal\n DEVELOPER PROJECT PLANNED NATURE OF COMMENTS\n INVESTMENT PROVISION\nArgyll & Bute Council Demolition of Spence £0.130m Demolition of Payment of Early Action Funding in support of this\n Court redundant flats..."
},
"meta": {
"next_part": null
}
}Run it live
Press Send to call the API from your browser.