Skip to content

freamon/ixirc-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Returns results from ixirc as a vector of Response structs:

pub struct Response {
    pub pack_name: String,
    pub network_name: String,
    pub channel_id: u64,
    pub channel_name: String,
    pub username: String,
    pub pack_number: u64,
    pub gets: u64,
    pub file_size: String,
}

Example Usage

use ixirc_api::Response;

fn main() {
    if let Some(response) = Response::query("sherlock holmes".to_string()).ok() {
        for r in response {
            println!("{}", r.pack_name);
        }
    }
}

About

Rust library to utilise API at www.ixirc.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages