Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function for get publication details #23

Open
cjrace opened this issue Sep 17, 2024 · 0 comments
Open

Add function for get publication details #23

cjrace opened this issue Sep 17, 2024 · 0 comments
Labels
new feature New feature or request

Comments

@cjrace
Copy link
Contributor

cjrace commented Sep 17, 2024

We have an endpoint that gets a publications details in EES, so we should add a wrapper function for it.

Expect main argument to be publication_id, with api version / environment etc also in there but with defaults set.

Example JSON ouput

{
  "id": "d851c09e-7f5a-4750-9191-ed67ba5e8f8b",
  "title": "Pupil absence in schools in England",
  "slug": "pupil-absence-in-schools-in-england",
  "summary": "Summary of the publication.",
  "lastPublished": "2024-06-01T09:30:00+00:00"
}

Assume we could give a simple data frame of this that is transposed for readability (e.g. where id / title etc should be cols, we use them as rows so it prints neatly into the console)

@cjrace cjrace added the new feature New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant