A lightweight wrapper for the Hypothesis Web API v1.0.0. It includes helper functions for all APIKey authorized endpoints related to * annotations (create / update / delete / search / fetch / flag), * groups (create / update / list / fetch / leave / members) * profile (user information / groups)
bash
cargo install hypothesis
You'll need a Hypothesis account, and a personal API token obtained as described here.
The code refers to your Hypothesis username as username
and the API token as developer_key
.
Check the documentation of the Hypothesis
struct for some usage examples.
TODO: Add a longer example here
See the CHANGELOG
Target.selector.RangeSelector
doesn't seem to follow W3C standards. It's just a hashmap for now.Document
works to properly document it (hah).UserProfile.preferences
and UserProfile.features
mean.