{"id":19886021,"url":"https://github.com/rishabkumar7/speedtest-api","last_synced_at":"2026-04-20T19:03:35.272Z","repository":{"id":161775017,"uuid":"636376144","full_name":"rishabkumar7/speedtest-api","owner":"rishabkumar7","description":"A Web API built with flask to perform internet speed test.","archived":false,"fork":false,"pushed_at":"2023-06-02T18:29:20.000Z","size":100,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-22T00:47:33.035Z","etag":null,"topics":["api","flask","python","python3"],"latest_commit_sha":null,"homepage":"https://speedtest.rishab.cloud","language":"HTML","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/rishabkumar7.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}},"created_at":"2023-05-04T17:57:25.000Z","updated_at":"2023-05-27T23:41:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa327877-a49d-4c57-b3fc-37ec61bcc125","html_url":"https://github.com/rishabkumar7/speedtest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishabkumar7/speedtest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fspeedtest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fspeedtest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fspeedtest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fspeedtest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabkumar7","download_url":"https://codeload.github.com/rishabkumar7/speedtest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fspeedtest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32061251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","flask","python","python3"],"created_at":"2024-11-12T17:36:02.542Z","updated_at":"2026-04-20T19:03:35.255Z","avatar_url":"https://github.com/rishabkumar7.png","language":"HTML","readme":"# Flask Speedtest API\n\nThis is a Flask app that provides an API for running a speedtest and returning the download and upload speeds in Mbps. The app also includes an index page with a button to run the speedtest and display the results.\n\n## Prerequisites\n\n- Python 3.6 or higher\n- Flask\n- speedtest-cli\n\n## Installation\n\n1. Clone this repository:\n\n``` bash\ngit clone https://github.com/rishabkumar7/speedtest-api.git`\n```\n\n2.Install the required packages:\n\n``` bash\npip install -r requirements.txt\n```\n\n3.Run the app:\n\n``` bash\npython app.py\n```\n\n4.Visit `http://localhost:5000` in your web browser to view the index page.\n\n## Usage\n\nTo run the speedtest and get the results in JSON format, make a GET request to the `/speedtest` endpoint. For example:\n\n```bash\ncurl http://localhost:5000/speedtest\n```\n\nThe response will be in JSON format and will include the download and upload speeds in Mbps:\n\n```json\n{\n  \"download_speed\": 25.56,\n  \"upload_speed\": 10.23\n}\n```\n\nTo view the index page, visit the root URL `http://localhost:5000`. Click the \"Run Speedtest\" button to start the speedtest and display the results.\n\n## Deployment\n\nThis app can be deployed to a cloud hosting platform such as AWS, Azure, or GCP.\n\n## Credits\n\nThis app uses the `speedtest-cli` library for running the speedtest. The animated GIF used for the loading spinner was sourced from [Giphy](https://giphy.com/).\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE]() file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fspeedtest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabkumar7%2Fspeedtest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fspeedtest-api/lists"}