feat: implement Spotify connection

This commit is contained in:
Zeynep Nur Temel
2023-03-18 13:41:18 +03:00
parent 1e62e09825
commit 41e9f32e1b
9 changed files with 191 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import defineApp from '../../helpers/define-app';
import addAuthHeader from './common/add-auth-header';
import auth from './auth';
export default defineApp({
name: 'Spotify',
key: 'spotify',
iconUrl: '{BASE_URL}/apps/spotify/assets/favicon.svg',
authDocUrl: 'https://automatisch.io/docs/apps/spotify/connection',
supportsConnections: true,
baseUrl: 'https://spotify.com',
apiBaseUrl: 'https://api.spotify.com',
primaryColor: '000000',
beforeRequest: [addAuthHeader],
auth,
});