From ed7ac5d5ff0558f973375180a2e731b5fec020a4 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Thu, 17 Sep 2020 12:55:38 -0400 Subject: [PATCH] Updated Usage (markdown) --- Usage.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Usage.md b/Usage.md index 7a5d9a4..ee283cf 100644 --- a/Usage.md +++ b/Usage.md @@ -191,13 +191,14 @@ which are already in the index. ## Python API Usage ```python -from archivebox.main import add, info, remove, check_data_folder +from archivebox.main import add, remove, server + +... # load the archive directory first, see API docs below for more info -out_dir = '~/path/to/my/data/folder' -check_data_folder(out_dir=out_dir) add('https://example.com', index_only=True, out_dir=out_dir) -info(out_dir=out_dir) -remove('https://example.com', delete=True, yes=True, out_dir=out_dir) +remove(...) +server(...) +... ``` For more information see the [Python API Reference](https://docs.archivebox.io/en/latest/archivebox.html).