{"id":30327375,"url":"https://github.com/power0matin/spotify-api-test","last_synced_at":"2025-08-18T00:37:26.624Z","repository":{"id":309330370,"uuid":"1035870368","full_name":"power0matin/Spotify-API-Test","owner":"power0matin","description":"A simple Python script to test access to the Spotify API from your VPS and log the results with detailed response information.","archived":false,"fork":false,"pushed_at":"2025-08-11T08:19:59.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-11T10:24:10.158Z","etag":null,"topics":["api-test","spotify","spotify-api","tester-apps","tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/power0matin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-11T08:07:07.000Z","updated_at":"2025-08-11T08:26:21.000Z","dependencies_parsed_at":"2025-08-11T10:24:22.408Z","dependency_job_id":null,"html_url":"https://github.com/power0matin/Spotify-API-Test","commit_stats":null,"previous_names":["power0matin/spotify-api-test"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/power0matin/Spotify-API-Test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power0matin%2FSpotify-API-Test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power0matin%2FSpotify-API-Test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power0matin%2FSpotify-API-Test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power0matin%2FSpotify-API-Test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/power0matin","download_url":"https://codeload.github.com/power0matin/Spotify-API-Test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/power0matin%2FSpotify-API-Test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270928220,"owners_count":24669481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-test","spotify","spotify-api","tester-apps","tools"],"created_at":"2025-08-18T00:37:25.588Z","updated_at":"2025-08-18T00:37:26.615Z","avatar_url":"https://github.com/power0matin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSpotify-API-Test 🚀\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#\"\u003e\n        \u003cimg src=\"https://badges.strrl.dev/visits/power0matin/Spotify-API-Test?style=flat\u0026labelColor=333333\u0026logoColor=E7E7E7\u0026label=Visits\u0026logo=github\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/power0matin/Spotify-API-Test?style=flat\u0026labelColor=333333\u0026logoColor=E7E7E7\u0026color=EEAA00\u0026label=Stars\u0026logo=github\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/repo-size/power0matin/Spotify-API-Test?style=flat\u0026labelColor=333333\u0026logoColor=E7E7E7\u0026color=007BFF\u0026label=Repo%20Size\u0026logo=github\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/stars/power0matin/Spotify-API-Test?style=flat\u0026labelColor=333333\u0026logoColor=E7E7E7\u0026color=007BFF\u0026label=Stars\u0026logo=github\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Overview 📝\n\nA simple Python script to test Spotify API accessibility from your VPS or server.  \nIt performs a GET request to Spotify's OAuth token endpoint, logs the status, response time, and headers for debugging and connectivity verification.\n\nThis tool helps you verify if your VPS or hosting environment is able to access Spotify services without being blocked or rate-limited.\n\n![Spotify-API-Test](assets/Spotify-API-Test.png)\n\n![Spotify Logo](https://storage.googleapis.com/pr-newsroom-wp/1/2018/11/Spotify_Logo_CMYK_Green.png)\n\n## Features ✨\n\n- Tests connection to Spotify API token endpoint.\n- Logs detailed response info including status code, headers, and response time.\n- Saves logs with timestamp in a dedicated `Log/` directory.\n- Easy to run with no dependencies other than `requests`.\n- Useful for troubleshooting VPS access issues to Spotify.\n- Designed and maintained by power0matin.\n\n## Requirements 🛡️\n\n- Python 3.7 or higher.\n- `requests` library (`pip install requests`).\n\n## Installation \u0026 Usage 📥\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/power0matin/Spotify-API-Test.git\ncd Spotify-API-Test\n```\n\n2. Install dependencies:\n\n```bash\npip install requests\n```\n\n3. Run the test script:\n\n```bash\npython spotify_api_test.py\n```\n\n4. Check the console output and review the generated log file inside the `Log/` folder.\n\n## Example Output 🖥️\n\n```plaintext\n[2025-08-11 08:03:27] ========================================\n[2025-08-11 08:03:27] Designed by power0matin | GitHub: https://github.com/power0matin/Spotify-API-Test\n[2025-08-11 08:03:27] Sending GET request to https://accounts.spotify.com/api/token\n[2025-08-11 08:03:27] Status Code: 403\n[2025-08-11 08:03:27] Response Time: 0.123 seconds\n[2025-08-11 08:03:27] Response Headers:\n[2025-08-11 08:03:27]   Content-Type: text/html; charset=UTF-8\n[2025-08-11 08:03:27]   Referrer-Policy: no-referrer\n[2025-08-11 08:03:27]   Content-Length: 304\n[2025-08-11 08:03:27]   Alt-Svc: h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000\n[2025-08-11 08:03:27] ⛔ Forbidden: Spotify API access blocked on this VPS.\n\n📝 Log has been saved to: Log/spotify_api_test_2025-08-11_08-03-27.log\n```\n\n## Contributing 🤝\n\nContributions, issues, and feature requests are welcome!\nFeel free to fork the repo and submit a pull request.\n\n## License 📜\n\nThis project is licensed under the [MIT License](LICENSE).\n\n\u003cp align=\"center\"\u003e\n\u0026#169; Created by power0matin\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpower0matin%2Fspotify-api-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpower0matin%2Fspotify-api-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpower0matin%2Fspotify-api-test/lists"}