# 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`
Raw data
{
"_id": null,
"home_page": "https://github.com/pgdr/cristin",
"name": "cristin",
"maintainer": "PG Drange <Pal.Drange@uib.no>",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "cristin",
"author": "PG Drange",
"author_email": "Pal.Drange@uib.no",
"download_url": "https://files.pythonhosted.org/packages/f9/9b/3d53fefe0981cfcb8b7fb021f621ff850b509988d67c1da16fa7eb0168c5/cristin-0.0.4.tar.gz",
"platform": null,
"description": "# Cristin API\n\nThis project is in no way affiliated with cristin.no.\n\nIt uses [api.cristin.no](https://api.cristin.no/v2/doc/index.html).\n\nYou may install it from [PyPI](https://pypi.org/project/cristin):\n\n`pip install cristin`\n\n\n## Person\n\nThis script can search for a person:\n\n`cristin --person Firstname Surname`\n\nYou can also limit search to a specific institution with `@`:\n\n`cristin --person Firstname Surname @ uib`\n\n\n## Results\n\nOnce you have a person's `cristin_person_id`, you can query their results:\n\n`cristin --results 1234`\n\nYou can put a limit to how many results you want by appending the limit.\n\n`cristin --results 1234 3`\n\n\nIf you want to get a `csv` output, simply use `cristin --csv --results 1234 3`\n\n## Results by person\n\nIf you want to combine the two above, use\n\n`cristin --resultsby firstname surname --csv`\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "cristin API",
"version": "0.0.4",
"split_keywords": [
"cristin"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f99b3d53fefe0981cfcb8b7fb021f621ff850b509988d67c1da16fa7eb0168c5",
"md5": "bff0deea9e3e99ea22319c243665c51e",
"sha256": "3dcbbd79d705aaef021d2edf316736788af3eead086d62847f1be024e2e7f5e3"
},
"downloads": -1,
"filename": "cristin-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "bff0deea9e3e99ea22319c243665c51e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3698,
"upload_time": "2023-02-03T10:02:02",
"upload_time_iso_8601": "2023-02-03T10:02:02.615769Z",
"url": "https://files.pythonhosted.org/packages/f9/9b/3d53fefe0981cfcb8b7fb021f621ff850b509988d67c1da16fa7eb0168c5/cristin-0.0.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-03 10:02:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "pgdr",
"github_project": "cristin",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cristin"
}