cern-sis / cern-sis/Library-Notifications-Service
Library newsletter notifications service
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Aim:
Create custom hooks to run in specific time(e.g, in a week) and update the users subscribed to that notification for any new updates if any.
What is provided:
1. Two types => Ebooks and Paper books
2. Certain types and categories/subject for books and the queries for the subjects could be:
- [Administration/Management](https://catalogue.library.cern/search?q=subjects.value%3A65%2A%20OR%20%28subjects.value%3A005%2A%20AND%20subjects.scheme%3AUDC%29&l=grid&order=asc&p=1&s=15&sort=bestmatch)
- [Astronomy/Astrophysics](https://catalogue.library.cern/search?q=subjects.value%3A52%2A&l=grid&order=asc&p=1&s=15&sort=bestmatch)
- [Engineering/Technology](https://catalogue.library.cern/search?q=subjects.value%3A62%2A&l=grid&order=asc&p=1&s=15&sort=bestmatch)
- [IT](https://catalogue.library.cern/search?q=%28subjects.value%3A004%2A%20subjects.value%3A006%2A%20subjects.value%3A007%2A%29%20OR%20%28subjects.value%3A005%2A%20AND%20subjects.scheme%3ADEWEY%29&l=grid&order=asc&p=1&s=60&sort=bestmatch)
- [Mathematics](https://catalogue.library.cern/search?q=subjects.value%3A51%2A&l=grid&order=asc&p=1&s=15&sort=bestmatch)
- [Physics](https://catalogue.library.cern/search?q=subjects.value%3A53%2A&l=grid&order=asc&p=1&s=15&sort=bestmatch)
4. ILS API - for example: https://catalogue.library.cern/api/literature/
Expected:
The task would be to create a query for every category/subject/types and populate a list of e books/paper books available and trigger the notifications via api with the payload from the query.
Expected use case:
> Two possible use cases examples:
> 1. We recently catalogued this book: https://catalogue.library.cern/backoffice/documents/b2f4x-gx545 with classification 530.145 and added the physical copy when the book arrived on 6 April 2023. Would it possible e.g. to alert the subscribers of our newsletter who work in EP/TH of the availability of the book?
> 2. We recently added e-books on engineering/technology: https://catalogue.library.cern/search?q=_created%3A%5B2023-03-01%20TO%202023-03-31%5D%20AND%20%28subjects.value%3A62%2A%29%20AND%20publication_year%3A%5B2018%20TO%202023%5D&l=grid&order=asc&p=1&s=15&sort=bestmatch Would it be possible to alert e.g. subscribers who work in EN/TE?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.