CratesIO Badge CratesIO Downloads CratesIO License

Planetary SDK

A low-code SDK to build awesome plugins for planetary.

Getting started

Add planetary_core to Cargo.toml

toml [dependencies] planetary_core = "0.1.0"

Then use the SDK in your app

```rs use planetary_core::prelude::*;

pub struct Plugin

impl Powerup for Plugin { fn prepare(&self) -> Result { Ok(request!("POST", "url", /* headers /, / Optional Body */)) }

fn execute(&self, data: Root) -> PrintableGrid {
    let mut printable = PrintableGrid::new();
    printable
}

}

fn main() { Planetary::run("github", Plugin::new()); } ```

This is just a relatively a simple example. Read the docs here to understand in detail how to build and publish an awesome plugin!