Extract library use api