Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 2.62 KB

README.md

File metadata and controls

59 lines (44 loc) · 2.62 KB

Platform Swift 5.3

Spotify Now Playing

Spotify Now PlayingはSpotifyの現在の再生曲を表示するiOS向けのデモアプリです。

機能

  • Spotifyとの連携ログイン
  • 現在再生中の曲の表示
  • 手動による再生曲の更新

セットアップ

  1. Spotify Developer Dashboardにアクセスし、新しいアプリケーションを作成します。
  2. アプリケーション設定の"Redirect URIs"にSpotifyNowListeningAppDemo://spotifyを追加します。
  3. "Client ID"と"Client Secret"を取得し、プロジェクトのConfig.plistファイルにそれぞれを記述します。具体的には、Config.plistは以下のような形式とします。
<dict>
    <key>CLIENT_ID</key>
    <string>YOUR_CLIENT_ID</string>
    <key>CLIENT_SECRET</key>
    <string>YOUR_CLIENT_SECRET</string>
</dict>

YOUR_CLIENT_IDYOUR_CLIENT_SECRETの部分はSpotify Developer Dashboardで取得した実際のClient IDとClient Secretに置き換えてください。


Spotify Now Playing is a demo iOS app that displays the current track being played on Spotify.

Features

  • Log in via Spotify
  • Display the currently playing track
  • Manual update of the playing track

Setup

  1. Visit the Spotify Developer Dashboard and create a new application.
  2. In the application settings, add SpotifyNowListeningAppDemo://spotify to "Redirect URIs".
  3. Obtain the "Client ID" and "Client Secret", and write them in the project's Config.plist file respectively. Specifically, the Config.plist should be in the following format:
<dict>
    <key>CLIENT_ID</key>
    <string>YOUR_CLIENT_ID</string>
    <key>CLIENT_SECRET</key>
    <string>YOUR_CLIENT_SECRET</string>
</dict>

Replace YOUR_CLIENT_ID and YOUR_CLIENT_SECRET with the actual Client ID and Client Secret obtained from the Spotify Developer Dashboard.