{"id":18952050,"url":"https://github.com/ishinzoo/virat-kohli-knocks-api","last_synced_at":"2026-03-29T01:30:20.270Z","repository":{"id":242464331,"uuid":"809290887","full_name":"iShinzoo/Virat-Kohli-Knocks-API","owner":"iShinzoo","description":"Welcome to the Virat Kohli's Greatest Knocks API! This backend project serves the purpose of delivering one of Virat Kohli's greatest cricket innings in a random order whenever a request is made.","archived":false,"fork":false,"pushed_at":"2024-06-03T06:29:28.000Z","size":403,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T02:27:18.033Z","etag":null,"topics":["api","get","kotlin","ktor","ktor-server","monitoring","routing","serialization"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iShinzoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-02T09:19:48.000Z","updated_at":"2024-06-05T07:00:18.000Z","dependencies_parsed_at":"2024-06-03T07:42:11.790Z","dependency_job_id":null,"html_url":"https://github.com/iShinzoo/Virat-Kohli-Knocks-API","commit_stats":null,"previous_names":["ishinzoo/ktor_sample","ishinzoo/virat-kohli-knocks-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShinzoo%2FVirat-Kohli-Knocks-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShinzoo%2FVirat-Kohli-Knocks-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShinzoo%2FVirat-Kohli-Knocks-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iShinzoo%2FVirat-Kohli-Knocks-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iShinzoo","download_url":"https://codeload.github.com/iShinzoo/Virat-Kohli-Knocks-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239951460,"owners_count":19723876,"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","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","get","kotlin","ktor","ktor-server","monitoring","routing","serialization"],"created_at":"2024-11-08T13:30:43.804Z","updated_at":"2026-03-29T01:30:20.210Z","avatar_url":"https://github.com/iShinzoo.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Virat Kohli's Greatest Knocks API\nWelcome to the Virat Kohli's Greatest Knocks API! This backend project serves the purpose of delivering one of Virat Kohli's greatest cricket innings in a random order whenever a request is made.\n\n## Features\n* Random Knock Selection: Each API request returns a random selection from a list of Virat Kohli's greatest cricket innings.\n* Statistical Details: Along with the match description, the API provides detailed statistics such as score, opposition.\n* Simple RESTful API: The backend is designed to be lightweight and easy to integrate with any frontend or other services.\n## Endpoints\n### GET/randomImage\nReturns a JSON object containing details of one of Virat Kohli's greatest cricket innings.\n\n#### Response Format\n\n\n```\njson\n\n\"tournament\" : \"2012 Champions Trophy\",\n\"description\":\"Virat Kohli scored a match-winning 103 not out to lead India to victory in the final against Pakistan.\",\n\"imageUrl\" : \"$BASE_URL/images/v1.jpg\"\n\n```\n\n## Getting Started\n### Prerequisites\n* Node.js\n* npm (Node Package Manager)\n#### Installation\n1. Clone the repository:\n\n```\ngit clone https://github.com/your-username/ktor-sample.git\ncd ktor-sample\n```\n2. Install the dependencies:\n\n```\nnpm install\n```\n3. Start the server:\n\n```\nnpm start\n```\n\nThe server will start running on  http://localhost:3000. \n\n#### Usage\nSend a GET request to the following endpoint to receive a random knock of Virat Kohli:\n\n```\nhttp://localhost:8100/randomImage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishinzoo%2Fvirat-kohli-knocks-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishinzoo%2Fvirat-kohli-knocks-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishinzoo%2Fvirat-kohli-knocks-api/lists"}