The rtematres API package