9 releases

new 0.2.5 Dec 30, 2024
0.2.4 Dec 28, 2024
0.1.2 Dec 14, 2024

#1443 in Web programming

Download history 364/week @ 2024-12-14 99/week @ 2024-12-21 270/week @ 2024-12-28

733 downloads per month

MIT license

55KB
1K SLoC

CircleCI 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

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

Dependencies

~10–21MB
~284K SLoC