mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
31 lines
861 B
Plaintext
31 lines
861 B
Plaintext
---
|
|
id: radio
|
|
title: Radio
|
|
sidebar_label: Radio
|
|
---
|
|
|
|
## Radio
|
|
|
|
The `Radio` class provides static methods for retrieving radio data.
|
|
|
|
**Class Overview:**
|
|
|
|
The `Radio` class offers methods for retrieving radio lists and trending radio stations.
|
|
|
|
### Static Methods
|
|
|
|
* `getRadioList({ limit = 50, offset = 0 } = {})`
|
|
|
|
Retrieves a list of radio stations.
|
|
|
|
* `{ limit, offset }`: *object, optional* An object containing the limit and offset for pagination.
|
|
* `limit`: *number, optional* The maximum number of radio stations to retrieve (default: 50).
|
|
* `offset`: *number, optional* The offset to start retrieving from (default: 0).
|
|
* Returns: A promise that resolves with the radio list data.
|
|
|
|
* `getTrendings()`
|
|
|
|
Retrieves trending radio stations.
|
|
|
|
* Returns: A promise that resolves with the trending radio stations data.
|