UNPKG

osu-api-extended

Version:

Advanced osu! api wrapper for v1 and v2, with extra stuff

57 lines 1.92 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.description = void 0; const request_1 = require("../../../../utility/request"); const request = (0, request_1.namespace)('https://osu.ppy.sh/api/v2/'); exports.description = { auth: 1, title: __filename, method: 'GET', description: 'Returns a listing of update streams, builds, and changelog entries', params: [ { name: 'object', params: [ { type: 'string', name: 'from', optional: true, description: 'Minimum build version', }, { type: 'string', name: 'to', optional: true, description: 'Maximum build version', }, { type: 'number', name: 'max_id', optional: true, description: 'Maximum build ID', }, { type: 'string', name: 'stream', optional: true, description: '\`\`\`stable40\`\`\` or \`\`\`stable\`\`\` or \`\`\`beta40\`\`\` or \`\`\`cuttingedge\`\`\` or \`\`\`lazer\`\`\` or \`\`\`web\`\`\`', }, { type: 'string[]', name: 'message_formats', optional: true, description: '\`\`\`html\`\`\` or \`\`\`markdown\`\`\`', }, ], } ], }; const name = async (obj) => { const data = await request(`changelog`, { method: 'GET', params: obj, }); return data; }; exports.default = name; //# sourceMappingURL=list.js.map