Thanks chatGPT for this kind answer, its huh not better then a human that would have took the time to answer right? :
The Spotify Web API does not directly provide access to or store information about a user's local devices because it is primarily designed to interact with Spotify's cloud-based services. The API focuses on providing functionality related to user accounts, playlists, tracks, artists, and other music-related data that can be accessed and managed through Spotify's servers.
Local devices, such as computers, smartphones, or smart speakers, are typically managed and controlled through the Spotify desktop or mobile applications. The Spotify API does not have direct control or visibility over the local devices themselves.
However, the Spotify API does provide endpoints and functionality for controlling playback on active devices. You can use the API to start, pause, or skip tracks on devices that are currently playing music through Spotify's streaming service. This functionality allows you to control the playback experience across different devices connected to a user's Spotify account.
It's worth noting that the Spotify Connect feature, available in the Spotify applications, allows you to seamlessly switch playback between different devices. This feature relies on the Spotify applications communicating with each other and maintaining synchronization across devices. The specific details and mechanisms of this synchronization are not exposed through the public API.
In summary, while the Spotify API provides features for controlling playback on active devices, it does not directly expose or manage information about a user's local devices due to the cloud-centric nature of the API and the way Spotify's architecture is designed.