Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

octocat-rs/github-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github-rest

This repository has been merged with the primary repository to create a (currently private) monorepo.

A github api wrapper written in rust

github-rest = { git = "https://github.com/octocat-rs/github-rest"}

Simple example

use github_rest::builders::GetIssuesBuilder;
use github_rest::client::DefaultRequest;

#[tokio:main]
async fn main() {
    let client = DefaultRequest::new_none();

    let mut builder = GetIssuesBuilder::new("microsoft".to_owned(), "vscode".to_owned());
    builder.per_page(1).page(2).state("open".to_owned());
    let issues = builder.execute(&client).await.unwrap();
}

About

A github api wrapper written in rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages