https://github.com/ezefranca/scholarly_publications
A Python package and command-line interface for fetching scholarly publications from Google Scholar by author ID, with options for output customization and result limitation.
https://github.com/ezefranca/scholarly_publications
google-scholar google-scholar-scrapper pypi-package python
Last synced: about 2 months ago
JSON representation
A Python package and command-line interface for fetching scholarly publications from Google Scholar by author ID, with options for output customization and result limitation.
- Host: GitHub
- URL: https://github.com/ezefranca/scholarly_publications
- Owner: ezefranca
- License: mit
- Created: 2024-03-27T20:31:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-12T09:53:36.000Z (over 1 year ago)
- Last Synced: 2025-08-22T08:23:41.503Z (2 months ago)
- Topics: google-scholar, google-scholar-scrapper, pypi-package, python
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.MD
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Scholarly Publications Fetcher [](https://pypi.org/project/scholarly_publications)
The `scholarly_publications` package provides an easy-to-use interface for fetching publication data from Google Scholar. It allows users to retrieve detailed information about an author's publications, including titles, publication years, links, and citation counts. This package is designed for academics, researchers, and anyone interested in programmatically analyzing scholarly publication data.
## Installation
To install `scholarly_publications`, use the following pip command in your terminal:
```bash
pip install scholarly_publications
```
## Usage
### Using the CLI (Command Line Interface)
`scholarly_publications` can be easily used via its command-line interface. Here are some examples:
Fetch all publications for a given author ID:
```bash
scholarly_publications
```
Fetch a specific number of publications for a given author ID:
```bash
scholarly_publications --max=
```
Sort results by pubdate/cited:
```bash
scholarly_publications --sortby=
```
### Using as a Python Package
You can also use `scholarly_publications` directly in your Python code. Here's how:
```python
from scholarly_publications import fetch_publications
# Fetch all publications for a given author ID
publications = fetch_publications('')
# Fetch a specific number of publications for a given author ID
publications = fetch_publications('', max_publications=)
# Fetch all publications for a given author ID and sort by pubdate/cited
publications = fetch_publications('', sortby='')
print(publications)
```
## Contributing
We welcome contributions to `scholarly_publications`! If you have suggestions for improvements, please open an issue or a pull request.
## Status
[](https://github.com/ezefranca/scholarly_publications/actions/workflows/workflow.yml)
## License
`scholarly_publications` is released under the MIT License. See the LICENSE file for more details.