Skip to content
s2

Introduction

What s2 is and how it is put together.

Search Semantic Scholar academic papers and authors

s2 is a single binary. It speaks to semanticscholar over plain HTTPS, shapes the responses into clean records, and gets out of your way. There is nothing to sign up for and nothing to run alongside it.

How it is built

  • A library package (semanticscholar) holds the HTTP client and the typed data models. It paces requests, sets an honest User-Agent, and retries the transient failures any public site throws under load.
  • A command tree (cli) wraps the library in subcommands with shared output formats and flags.
  • One cmd/s2 entry point ties them together.

Scope

s2 is a read-only client over data semanticscholar already serves publicly. It reads that data and shapes it for you. That narrow scope keeps it a single small binary with no database, no daemon, and no setup.

Next: install it, then take the quick start.