
Planetary SDK
A low-code SDK to build awesome plugins for planetary.
Getting started
Add planetary_core to Cargo.toml
[dependencies]
planetary_core = "0.1.0"
Then use the SDK in your app
use planetary_core::prelude::*;
pub struct Plugin
impl Powerup<Root> for Plugin {
fn prepare(&self) -> Result<PlanetaryRequest> {
Ok(request!("POST", "url", , ))
}
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!