danbooru lib for nim implements 'post's as objects and searches as post seqs enough functions to search for posts and filter by tag (clientside, so you don't need an API key), which is all i've ever needed cheers