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 f50d8a3 commit 675f1fbCopy full SHA for 675f1fb
1 file changed
src/api/apps.rs
@@ -107,4 +107,14 @@ 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(
113
+ &self,
114
+ app_slug: impl AsRef<str>,
115
+ ) -> crate::Result<crate::models::apps::App> {
116
+ let route = format!("/apps/{app_slug}", app_slug = app_slug.as_ref());
117
118
+ self.crab.get(&route, None::<&()>).await
119
+ }
120
0 commit comments