chore: remove examples directory

This commit is contained in:
rzmk 2026-06-11 15:58:08 -04:00
parent a0a86219b5
commit c341c02e73
10 changed files with 0 additions and 3791 deletions

View file

@ -1,2 +0,0 @@
.env
target/

File diff suppressed because it is too large Load diff

View file

@ -1,8 +0,0 @@
[package]
name = "package-list"
version = "0.1.0"
edition = "2024"
[dependencies]
ckanaction = "0.2.0"
tokio = { version = "1.52.2", features = ["full"] }

View file

@ -1,8 +0,0 @@
# Example of using ckanaction to run the /package_list API endpoint
## Usage
the following command to run the `/package_list` CKAN Action API endpoint on `http://localhost:5000` and print the formatted debug output.
```bash
cargo run
```

View file

@ -1,15 +0,0 @@
use ckanaction::CKANError;
#[tokio::main]
async fn main() -> Result<(), CKANError> {
// Initialize and build CKAN struct
let ckan = ckanaction::CKAN::builder()
.url("http://localhost:5000")
.build();
// Send request to /package_list and print formatted debug output
let package_list = ckan.package_list().call().await?;
println!("{package_list:#?}");
Ok(())
}

View file

@ -1,2 +0,0 @@
.env
target/

File diff suppressed because it is too large Load diff

View file

@ -1,8 +0,0 @@
[package]
name = "status-show"
version = "0.1.0"
edition = "2024"
[dependencies]
ckanaction = "0.2.0"
tokio = { version = "1.52.2", features = ["full"] }

View file

@ -1,9 +0,0 @@
# Example of using ckanaction to run the /status_show API endpoint
## Usage
Run the following command to run the `/status_show` CKAN Action API endpoint on `http://localhost:5000` and print the formatted debug output.
```bash
cargo run
```

View file

@ -1,15 +0,0 @@
use ckanaction::CKANError;
#[tokio::main]
async fn main() -> Result<(), CKANError> {
// Initialize and build CKAN struct
let ckan = ckanaction::CKAN::builder()
.url("http://localhost:5000")
.build();
// Send request to /status_show and print formatted debug output
let status_show = ckan.status_show().await?;
println!("{status_show:#?}");
Ok(())
}