ss-tools

Crates.ioss-tools
lib.rsss-tools
version1.0.0
created_at2024-12-14 13:28:47.421575+00
updated_at2026-01-04 13:55:13.751197+00
descriptionTools for Semantic Scholar API
homepage
repositoryhttps://github.com/akitenkrad/rs-ss-tools.git
max_upload_size
id1483131
size175,006
akitenkrad (akitenkrad)

documentation

README

Crates.io Version

Rust Semantic Scholar API Tools

Tools for Semantic Scholar API.

Documents

LOGO

Quick Start

Installation

To start using ss-tools, just add it to your project's dependencies in the Cargo.toml.

> cargo add ss-tools

API Key

If you have an API key, set it as an environmental value in a .env file

SEMANTIC_SCHOLAR_API_KEY = xxxxxxxxxxxxxxxxxxxxxxxx

Then, import it in your program;

use ss_tools::SemanticScholar;

Usage

See the documents -> Documents

Updates

1.0.0
  • Breaking Change: Changed structs' fields visibility to pub.
  • Added new endpoints for paper search and author details.
  • Updated the way to query with parameters using QueryParams builder pattern.
  • Fixed URL encoding for query text.
  • Changed license to MIT.
0.2.6
  • Fixed to a bug: Author.author_id: String => Author.author_id: Option<String>
0.2.5
  • Fixed to retry when the api response is empty.
0.2.4
  • Changed module names to make them more intuitive and easier to understand.
  • Added the rest query parameters.
  • Updated documents.
0.2.3
0.2.2
  • Fixed README.md
    • added the Semantic Scholar instruction about API key.
0.2.1
  • Fixed README.md
0.2.0
  • apply the Levenshtein algorithm to extract the correct title.
  • added retry loop when the Semantic Scholar API fails.
  • added new API to get citations of a paper
  • added new API to get references of a paper
Commit count: 0

cargo fmt