2-per-page

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command spike2 finds the real per_page maximum on the OpenAlex works endpoint.

Spike 2 of docs/ARCHITECTURE_PHASE1.md §9: the documentation gives both 100 and 200. It matters because a list request costs a flat 10 credits regardless of how many works come back, so the page size sets the credits-per-work floor once spike 1 has settled how many IDs may be filtered at once.

Usage:

go run ./spikes/2-per-page

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL