Genres
The genres catalog is used to retrieve a listing of all of the top-level genres on Beatport.
- Required Parameters:
- none
- Optional Parameters:
- page (integer):
Which page of the resultset to view.
- perPage (integer):
How many results per page should be returned.
- id (integer):
Which genre id specifically to retrieve (limits to a single genre).
- slug (string):
Which genre specifically to retrieve (limits to a single genre).
A slug is a human-readable string representing this genre with
all special characters removed.
- subgenres (boolean: true|false):
Determines whether or not to retrieve subgenres along with
the parent genres.
Examples
Get genres:
GET /catalog/3/genres
Get genres with subgenres:
GET /catalog/3/genres?subgenres=true