Integrate an existing application to playlist converter.

You can redirect your visitors/ users to playlist converter with url parameters:

  • name
  • text
  • url

name

Defines the destination playlist name.

The name parameter should be URL encoded.

You should redirect your visitor to this url if you want to name playlist "Ma playlist": http://www.playlist-converter.net/#/?name=Ma%20playlist

text

Defines the playlist text input (like text input source on the web application).

The text parameter should be URL encoded.

For example:

will become:

And the final URL is: http://www.playlist-converter.net/#/?text=The%20Trance%20Is%20The%20Motion%20-%20Static-X%0ABled%20For%20Days%20-%20Static-X%0ATerminal%20-%20Static-X%0AThe%20Enemy%20-%20Static-X%0ASkinnyman%20-%20Static-X%0AI%20Am%20-%20Static-X%0AInvincible%20-%20Static-X%0ADirthouse%20-%20Static-X

url

Grab playlist from an external url returning the playlist as text content (list of tracks separated by new line)

For an url like http://127.0.0.1:3000/text/kzUw1mYBZfUwRydoZdy_ it should be url encode.
And the final URL is:
http://www.playlist-converter.net/#/?url=http:%2F%2F127.0.0.1:3000%2Ftext%2FkzUw1mYBZfUwRydoZdy_&name=ma%20play%20liste

Be sure to enable CORS for playlist converter domain name on the target application.

More features and feedback

You can ask for more api features on the Forum. You can get help and How-tos. Join the community.

Learn more on API:

API with javascript (browser)

API with node.js