Class: Parser

Parser

new Parser()

Create a parser.

Source:

Members

spotify

Spotify request handler.

Source:

Methods

parse(stropt) → {Collection}

Parse a string and create a playlist collection.

Parameters:
Name Type Attributes Description
str string <optional>

A newline-separated string of entries on the form TITLE - ARTIST. May also contain #ALBUM, #ARTIST, #ORDER and #GROUP commands.

Source:
Returns:

A playlist collection.

Type
Collection