A REST API built with Django for working with Spotify data. Provides endpoints to access, store, and manage tracks, playlists, and user information. Supports asynchronous tasks, authentication, and automatic API documentation.
- Spotify Data Access: Retrieve information about tracks, playlists, and users through structured API endpoints.
- JWT Authentication: Secure your API with JSON Web Tokens for user login and access control.
- Asynchronous Tasks: Background tasks using Celery for periodic data updates or heavy processing.
- Database Integration: Uses PostgreSQL for efficient storage and management of Spotify data.
- Interactive API Docs: Includes Swagger/OpenAPI interface for testing and exploring endpoints.
- Responsive Design: API documentation and interface are fully usable on desktop and mobile devices.
- Requirements: Python 3.8+, Django, PostgreSQL, Redis (for Celery tasks)
- Installation: Install dependencies from
requirements.txt
. - Configuration: Set up PostgreSQL database, environment variables, and Celery if using asynchronous tasks.
- Running the Project: Start Django server to access API and interactive documentation.
- Authenticate Users: Obtain JWT tokens to access protected endpoints.
- Query Spotify Data: Use endpoints to get tracks, playlists, or user information.
- Manage Background Tasks: Optional Celery integration for updating data automatically.
- Explore & Test API: Use Swagger UI or OpenAPI docs to interact with the API in a browser.
- Swagger UI / OpenAPI: Fully interactive, responsive documentation available in the project for testing endpoints.
- Mobile-Friendly: Works perfectly on any device.
SpotifyAPI is a powerful and flexible API for developers who want to integrate Spotify data into applications, perform automated tasks, and explore API endpoints easily through a responsive interface.