Skip to content
/ api Public

Rust crate for interacting with api.pop-os.org

License

Notifications You must be signed in to change notification settings

pop-os/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pop!_OS API

Rust crate for interacting with the Pop!_OS API

#[macro_use]
extern crate fomat_macros;

use futures::executor;
use pop_os_api::builds::Build;

fn main() {
    executor::block_on(async move {
        let build = Build::get("20.04", "intel").await?;

        pint!(
            "build:   " (build.build) "\n"
            "sha_sum: " (build.sha_sum) "\n"
            "size:    " (build.size) "\n"
            "url:     " (build.url) "\n"
        );
    })
}

About

Rust crate for interacting with api.pop-os.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages