A Nextcloud Bookmark API Client.

Currently a first draft implementation, not stable or ready for consumption.

Run Tests

rust stable >=1.46

cargo test

Development build/run

rust stable >=1.46

cargo-watch -x run

Currently nothing to build, yet.

Building for Production

rust stable >=1.46

cargo build --release

Currently nothing to build, yet.

Example

```rust use libnclbk; use url::Url;

fn main() { let authid: String = "".toowned(); let baseurl: Url = "https://".toowned().parse().unwrap(); // Create an app password at https:///index.php/settings/user/security and export it as an env var let key: &str = "NCAUTHSECRET"; let authsecret: String = std::env::var(key).toowned().unwrap();

let bookmark_client = libnclbk::BookmarkAPIClient::new(auth_id, auth_secret, base_url).unwrap();
println!("{:?}", bookmark_client);

} ```

Useful Documentation