How to get new releases from the Apple Music API - spotify

Recently Apple Music launched a new feature that notifies the user about new releases. I'm trying to find a way of receiving this notifications from the API, or somehow listen to a set of artists in case of new releases.
If you know any work around or a similar solution using Spotify's API or any other music platform, I'd be grateful.

For Spotify at least you can use the Get a List of New Releases from the Spotify API to request the latest releases, each of the Album Objects returned would contain the Artist Object for those, there's plenty of ways depending on your programming language of choice to get this information and to Authenticate so you can look for those for Javascript, C#, Python etc and see if they will help do what you need.

Related

Google how can I create a music player for my Google Assistant

I’m wondering how I can create a music Player for my Google Assistant compatible devices (e.g. Google Home mini, my tablet, phone...). I’ve been researching about how I can do this, but I’ve just found things like using Dialogflow, node-js and/or Actions on Google using Google Firebase Cloud Functions. I’m new to all this, I was motivated by Spotify and Pandora and all those other services. So I also tried looking up how they do it, but I found nothing. If any of you Know how to do it, please help me.
In addition to all that, I am just a tad bit confused about the whole Dialogflow and Actions on Google integration, but that’s easier to fix than the overall question.
If this isn’t “solvable” is there a way to do it with Dialogflow Fulfillment’s?
In order to create something like Spotify or Pandora, you need to partner with Google to create a media action. These are different than the conversational actions that you can create using Actions on Google and Dialogflow.
If you want to create a conversational action with Actions on Google and Dialogflow that produce long-form audio results as part of the conversation, you will want to look into the Media response, which you can include in your replies.

Spotify Unity SDK

Does anyone know, do I need any kind of addition rights (or license agreements) for implementing custom Unity wrapper for Spotify SDK? On its own, the Spotify Unity wrapper will not include any Spotify libs (no Android nor iOS). Each developer will be prompted to download appropriate SDK from the official Spotify website and import into Unity project manually.
I am considering the possibility of selling the custom Unity wrapper for Spotify SDK on the market (Unity Asset Store etc.). I will NOT sell any Spotify resources/libs, just my custom implementation of Unity wrapper for Spotify. But anyway, I need the information about the possible required granted permissions from the Spotify itself.
If you have any kind of useful information according to this case, please, share with me. Thank you!
I can't give any specific legal advice, I'd suggest you approach a legal expert - but it's worth checking out Spotify's Developer Terms of Service, specifically noting the excerpt "Unless you receive Spotify’s written approval, you shall not use the Spotify Platform to incorporate Spotify Content into any game functionality".

How to develop Spotify Desktop Applications, now Libspotify is discontinued

have done my due diligence, and not found any other posts that answer this question, but as usual, if you know a similar question, point me that way!
I noticed a long time back that Libspotify has been dicontinued:
(https://developer.spotify.com/technologies/libspotify/)
So, my question is - what should we do for developing Desktop applications?
They do state: "We hope to be able to provide you with a new library for other platforms." But, this has been going on since 2015!
I have seen many projects in GitHub still using Libspotify - so what should we do? An update was promised "in the upcoming months" but I've not seen anything yet.
What should we do for developing Desktop Applications?
We at Spotify don't currently provide playback as part of our platform offering outside of our iOS and Android SDKs, and I don't have any updates on that at the moment. As mentioned on the website, we hope to be able to provide playback SDKs for more platforms in the future. We don't support any new development on libspotify.
You can use the Spotify Web API to interact with Spotify in a variety of ways, including getting information about metadata, and accessing/modifying user libraries and playlists, which may be useful. You can also use the Applescript API to control playback on macOS, which may also help.
The Spotify Web API is pretty straight forward to use. Of course it defines the protocol rather than implements it so it is OS independent.
I put together a few classes to help unwrap some of the JSON parameters simply. These were written in Swift for macOS.

Follow artists with Spotify SDK

I want to write a little Deezer to Spotify switcher, which transfers my artists and albums to my Spotify account. How can I follow an artist and add an album to my music library using one of Spotify's SDK (Libspotify, Web-API or Android SDK)?
This sounds like an awesome feature! (As long as it's not the other way around ;-)
Following and unfollowing artists and users isn't possible just yet, but please stay tuned for updates. You can either follow #SpotifyPlatform on Twitter or follow the Web API Change log. I can also update this answer once this feature is available.
Update: Following artists or users is possible to do using the Follow Artists or Users endpoint in the Web API. It was released in December, 2014.

using Spotify's webAPI in an iOS app

So I'm in the process of developing an iOS app and I wanted to use the Spotify web API for searching and looking up songs in Spotify. However, I can't really tell if that is how to do it or if there would be better ways to do it and wanted to clarify before I began. Thanks in advance!
If you'd like the use the Web API, it works just the same as any other JSON REST API, so a lot of the tutorials out there for doing that on iOS will help you just fine. For converting between JSON and Objective-C data structures, newer iOS versions have NSJSONSerialization, otherwise I can recommend the open-source TouchJSON.
Also, you might want to look at CocoaLibSpotify, which is an Objective-C library for interacting with the Spotify service in a much more integrated way than the Web API — including music streaming. However, it does require a Spotify user be logged in to use.

Resources