Flatlogic Bot ca3a32f23e V 4
2026-02-16 06:55:36 +00:00

15 lines
375 B
TypeScript

import type {SoundcloudApp} from "../types"
import {API} from "../API"
export class Apps {
public constructor(private readonly api: API) {}
/**
* Gets Soundcloud apps, using the Soundcloud v2 API.
*/
public get = async () => {
const response = await this.api.getV2("/apps")
return response.collection as Promise<SoundcloudApp>
}
}