Is it possible to read logbook entries with pyscript?

Hey I don’t want to set logbook entries but rather read them with pyscript. Is it possible with pyscript to specify an entity and the read the logbook entries for this entity?