Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pgdr/cristin
https://github.com/pgdr/cristin
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/pgdr/cristin
- Owner: pgdr
- Created: 2023-01-31T12:59:26.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T10:01:47.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T02:54:27.542Z (about 2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cristin API
This project is in no way affiliated with cristin.no.
It uses [api.cristin.no](https://api.cristin.no/v2/doc/index.html).
You may install it from [PyPI](https://pypi.org/project/cristin):
`pip install cristin`
## Person
This script can search for a person:
`cristin --person Firstname Surname`
You can also limit search to a specific institution with `@`:
`cristin --person Firstname Surname @ uib`
## Results
Once you have a person's `cristin_person_id`, you can query their results:
`cristin --results 1234`
You can put a limit to how many results you want by appending the limit.
`cristin --results 1234 3`
If you want to get a `csv` output, simply use `cristin --csv --results 1234 3`
## Results by person
If you want to combine the two above, use
`cristin --resultsby firstname surname --csv`