Comments (5)
Hi James,
If it helps, there's an (unsupported) API; here it is for your example:
However this only contains some metadata, not the publication content.
from whitehall.
Oh weird. I didn't know you still had the routes where the path starts with /api/
We've ended up using the Atom feed, as that does include the content (which is the key stuff we need). It would still be good to add JSON feeds for content though.
from whitehall.
@billinghamj We have those, looking like this: https://www.gov.uk/api/content/government/publications/msn-1853-m-boatmasters-qualifications-crew-and-hours-of-work
Also unsupported, currently.
from whitehall.
@elliotcm Doesn't include the publication content though - which is the key thing. Currently the only way to get content is to use a slow & primitive ATOM/RSS feed.
Or to scrape the HTML of course.
from whitehall.
Ah yes, that part of the site hasn't been fully migrated over to that API yet. It will fill out eventually.
from whitehall.
Related Issues (20)
- Historic appointments could be consolidated further
- Remove commit - Content for "theresa-may" missing HOT 1
- Missing Local data - images
- Running tests results 404 API error
- Bad file descriptor (Errno::EBADF) - individual tests HOT 2
- Missing local data - World Locations HOT 2
- Page failing to render locally - Announcements
- Broken link reporter test HOT 1
- Announcements page - content
- Consider replacing IDs with data-* attributes HOT 1
- Pluralisations quirk will cause fallbacks to English locale
- Prevent ministers and officials from hiding substantial policy paper changes as minor HOT 5
- Add View Components HOT 5
- Consider using pdf.js for PDF thumbnail generation, or even just use a generic icon instead.
- Links in component guide are broken
- When updating a slug for an edition, trailing spaces cause a crash
- Topical Events logos cannot be SVGs
- Advisory text for custom organisation logos appears to be incorrect
- Lack of checking for duplicate titles/URLs
- 'Back' link doesn't work in organisation pages, Promotional Feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whitehall.