We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8c885 commit 043b3a3Copy full SHA for 043b3a3
src/api/apps.rs
@@ -107,4 +107,11 @@ impl<'octo> AppsRequestHandler<'octo> {
107
108
self.crab.get(&route, None::<&()>).await
109
}
110
+
111
+ /// Get a GitHub App by its slug.
112
+ pub async fn get_app(&self, app_slug: impl AsRef<str>) -> crate::Result<crate::models::apps::App> {
113
+ let route = format!("/apps/{app_slug}", app_slug = app_slug.as_ref());
114
115
+ self.crab.get(&route, None::<&()>).await
116
+ }
117
0 commit comments