developer
Retrieve all applications published by a specific developer from app stores. Use this tool to find apps by developer ID across iOS and Android platforms.
Instructions
Get all apps by a developer
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| devId | Yes | iTunes artistId of the developer (e.g., 284882218 for Facebook) | |
| country | No | Two-letter country code (default: us) | us |
| lang | No | Language code (default: en) | en |
Implementation Reference
- src/server.js:305-343 (handler)Main handler function that implements the 'developer' tool logic: extracts parameters, builds URL, fetches data, parses apps, and returns formatted JSON response./** * Developer tool - Get apps by developer */ async function handleDeveloper(args) { try { const { devId, country = 'us', lang = 'en' } = args; if (!devId) { throw new Error('devId is required'); } const url = buildDeveloperUrl({ devId, country, lang }); const data = await fetchJSON(url); const apps = parseApps(data); return { content: [ { type: 'text', text: JSON.stringify({ developerId: devId, apps, count: apps.length, }, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: JSON.stringify({ error: error.message }, null, 2), }, ], isError: true, }; } }
- src/server.js:1083-1105 (registration)Tool registration in ListToolsRequestSchema, including the name, description, and input schema definition for the 'developer' tool.name: 'developer', description: 'Get all apps by a developer', inputSchema: { type: 'object', properties: { devId: { type: 'number', description: 'iTunes artistId of the developer (e.g., 284882218 for Facebook)', }, country: { type: 'string', description: 'Two-letter country code (default: us)', default: 'us', }, lang: { type: 'string', description: 'Language code (default: en)', default: 'en', }, }, required: ['devId'], }, },
- src/endpoints/appStore.js:58-72 (helper)Helper function to construct the iTunes API lookup URL for retrieving apps by developer ID.* Builds a developer apps URL * @param {Object} params - Developer parameters * @returns {string} */ export function buildDeveloperUrl(params) { const { devId, country = 'us', lang = 'en' } = params; const queryParams = new URLSearchParams({ id: devId.toString(), country: country, lang: lang, entity: 'software', }); return `${ITUNES_BASE}/lookup?${queryParams.toString()}`; }
- src/parsers/appStore/app.js:70-87 (helper)Helper function to parse the raw JSON response from iTunes API into an array of normalized app objects, used in the developer tool.* Parses multiple apps from search/developer results * @param {Object} data - Raw iTunes API response * @returns {Array<Object>} */ export function parseApps(data) { if (!data || !data.results || !Array.isArray(data.results)) { return []; } return data.results .filter(app => app.kind === 'software' || app.wrapperType === 'software') .map(app => { // Reconstruct as if it came from lookup const lookupData = { results: [app] }; return parseApp(lookupData); }) .filter(app => app !== null); }