crate api book