Tomahawk, the much-praised music player app that acts as a unified location to listen to music from sources as diverse as Spotify, SoundCloud, Rdio and YouTube, has announced the launch of an API designed to make life easier for music app and hack developers.

Revealed at Midem in Cannes, France, where the startup is taking part in the annual Midemlab competition along with 29 other companies, the API lets developers add a simple, multi-source music player to their apps – perfect for events like Music Hackday, where coders have limited time and want an easy way to support multiple music services.

With a few of lines of code, a Tomahawk music player (which can be hidden from view if the developer chooses) can be added to any app, and it supports SoundCloud, Official.fm, Last.fm, Deezer, Jamendo, YouTube, Rdio and Spotify, with further integrations promised for the future. The player even respects any source preferences existing Tomahawk users may have set up already.

Conveniently, there is a Midem Hack Day taking place in Cannes right now, and who knows, maybe the Tomahawk API will be put to use there. We plan to bring you our pick of the hacks from Midem in the coming week. We’ll also let you know which three startups end up winning the Midemlab competition on Monday, so stay tuned.

➤ Tomahawk API

Image credit: Jupiterimages / Thinkstock