MCPcopy Create free account
hub / github.com/appium/appium / getProjectInfo

Function getProjectInfo

scripts/crowdin-stats.mjs:155–163  ·  view source on GitHub ↗

* Get project details * @returns {Promise<{name: string, id: number}>}

()

Source from the content-addressed store, hash-verified

153 * @returns {Promise<{name: string, id: number}>}
154 */
155async function getProjectInfo() {
156 const {data: projectData} = await performApiRequest('', {
157 method: 'GET',
158 });
159 return {
160 name: projectData.name,
161 id: projectData.id,
162 };
163}
164
165/**
166 * Format statistics as Slack message blocks

Callers 1

mainFunction · 0.85

Calls 1

performApiRequestFunction · 0.90

Tested by

no test coverage detected