Sinta Scraper
Retrieves information from Sinta (Science and Technology Index) via scraping.
Installation
pip install sinta-scraper
Dependencies (installed automatically using the above command): beautifulsoup4, requests, dicttoxml, dict2xml, python-string-utils, and flatdict.
Importing
import sinta
Available Functions
Function Details
Retrieves an author's information by Sinta ID. For example:
author_id = 6082456
author = sinta.author(author_id)
print(author)
The output format is the Python dictionary. The structure is given in the following sample output.
{'affiliation': {'id': 404,
'name': 'Universitas Brawijaya',
'url': 'https://sinta.kemdikbud.go.id/affiliations/profile/404'},
'articles': {'scholar': 103, 'scopus': 14, 'wos': 0},
'citations': {'scholar': 266, 'scopus': 52, 'wos': 0},
'cited_docs': {'scholar': 0, 'scopus': 9, 'wos': 0},
'department': 'S1 - Teknik Informatika',
'g-index': {'scholar': 1, 'scopus': 1, 'wos': ''},
'h-index': {'scholar': 9, 'scopus': 4, 'wos': ''},
'i10-index': {'scholar': 9, 'scopus': 1, 'wos': ''},
'id': 6082456,
'name': 'RANDY CAHYA WIHANDIKA',
'score': {'3_years': 122,
'affiliation': 0,
'affiliation_3_years': 0,
'overall': 451},
'subjects': ['Image Processing', 'Computer Vision'],
'url': 'https://sinta.kemdikbud.go.id/authors/profile/6082456'}
Multiple authors can also be retrieved at once:
author_ids = 5975467, 6019743
authors = sinta.author(author_ids)
Retrieves information about an affiliation. For example:
affiliation_id = 404
affiliation_info = sinta.affiliation(affiliation_id)
Output:
{'abbreviation': 'UB',
'articles': {'garuda': 8783, 'scholar': 100142, 'scopus': 9181, 'wos': 1260},
'authors': 2330,
'citation_per_researcher': {'garuda': 0.46,
'scholar': 462.17,
'scopus': 49.15,
'wos': 7.96},
'citations': {'garuda': 428, 'scholar': 431668, 'scopus': 45910, 'wos': 7432},
'cited_documents': {'garuda': 265,
'scholar': 44142,
'scopus': 5622,
'wos': 778},
'code': '001019',
'departments': 177,
'id': 404,
'journals': 67,
'last_update': '2022-06-15 09:00:53',
'location': 'KOTA MALANG - JAWA TIMUR, ID',
'name': 'Universitas Brawijaya',
'sinta_score': {'3_years': 220241,
'overall': 568684,
'productivity': 277,
'productivity_3_years': 107},
'url': 'https://sinta.kemdikbud.go.id/affiliations/profile/404'}
Other Output Formats
Other formats can be used by specifying the output_format argument. For example:
author = sinta.author(id, output_format='json')
Avalable output formats:
'dict'(default)'dict-flat''json''json-pretty''xml''xml-flat'
You can also pretty-print a dictionary using pprint:
from pprint import pprint
pprint(result_dict)
Metadata
Release files for sinta-scraper 2.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sinta-scraper-2.2.1.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sinta_scraper-2.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.3 kB
Release files / sinta-scraper-2.2.1.tar.gz
| Download URL | sinta-scraper-2.2.1.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3847130e5b70b7ebd6178b86409d4b01113ab07a536297ef6caab41f4b91988e
|
|
BLAKE2b-256 checksum How to use checksums |
76313460a0512523e5dcc06dd5ec7a2403c53108348314d567ace08f9fcce120
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / sinta_scraper-2.2.1-py3-none-any.whl
| Download URL | sinta_scraper-2.2.1-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd197c539e87ac6de55d358a8d63458a935b277a492caed4804f048bb6bb5481
|
|
BLAKE2b-256 checksum How to use checksums |
8adf6778687c4a163a9766c804c09e72277cfe4e6a89a30b9ef90a70d397be68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|