Bear

class apps.Bear

Actions for Bear.

add_file(id=None, title=None, file=None, filename=None, mode=None, open_note=None) → str

Append or prepend a file to a note identified by its title or id.

add_text(id=None, title=None, text=None, mode=None, exclude_trashed=None, open_note=None) → str

Append or prepent text to a note identified by its title or id.

change_font(font=None) → str

Change the selected Bear Font.

change_theme(theme=None) → str

Change the selected Bear theme. Some themes may require a Bear Pro subscription.

create_note(title=None, text=None, tags=None, pin=None, file=None, filename=None, open_note=None) → str

Create a new note and return its unique identifier. Empty notes are not allowed.

delete_tag(name=None) → str

Delete an existing tag.

grab_url(url=None, images=None, tags=None, pin=None) → str

Create a new note with the content of a web page.

open_note(id=None, title=None, exclude_trashed=None) → str

Open a note identified by its title or id and return its content.

open_tag(name=None) → str

Show all the notes which have a selected tag in bear.

rename_tag(name=None, new_name=None) → str

Rename an existing tag.

search(term=None, tag=None) → str

Show search results in Bear for all notes or for a specific tag.

trash(id=None) → str

Move a note to bear trash.