ss-tools 0.2.5

Tools for Semantic Scholar API
Documentation

CircleCI Crates.io Version

Rust Semantic Scholar API Tools

Tools for Semantic Scholar API.

Documents

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

  • Fixed to retry when the api response is empty.
  • Changed module names to make them more intuitive and easier to understand.
  • Added the rest query parameters.
  • Updated documents.
  • Fixed README.md
    • added the Semantic Scholar instruction about API key.
  • Fixed README.md
  • 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