{"id":18872385,"url":"https://github.com/defcon-007/cab-sharing","last_synced_at":"2026-02-28T17:04:14.032Z","repository":{"id":71450030,"uuid":"85454084","full_name":"DefCon-007/Cab-Sharing","owner":"DefCon-007","description":"A cab sharing portal for IIT-KGP","archived":false,"fork":false,"pushed_at":"2017-04-16T16:34:03.000Z","size":3922,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-30T22:02:22.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/DefCon-007.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":"2017-03-19T05:50:01.000Z","updated_at":"2017-04-12T11:22:50.000Z","dependencies_parsed_at":"2023-02-25T16:31:34.211Z","dependency_job_id":null,"html_url":"https://github.com/DefCon-007/Cab-Sharing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DefCon-007/Cab-Sharing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2FCab-Sharing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2FCab-Sharing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2FCab-Sharing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2FCab-Sharing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DefCon-007","download_url":"https://codeload.github.com/DefCon-007/Cab-Sharing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DefCon-007%2FCab-Sharing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29943686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-08T05:29:43.458Z","updated_at":"2026-02-28T17:04:13.979Z","avatar_url":"https://github.com/DefCon-007.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cab Sharing\n\nThis is source for api of cab-sharing feature for the KGP dashboard\n\n## Getting Started\n\n- Install all the dependancies \n```\npip install -r requirements.txt\n```\n### How to run \n\n```\npython app.py\n```\n\n## Basic API endpoints\n\n #### \u003e /get-all-cabs  \n \tThis endpoint returns all the cabs \n \tParameters Required : \n \t\tNone \n\tParameters Returned : \n\t\tsuccess : Boolean (Whether the request was a success or not)\n\t\tdata    : JSON i.e. a list of Dictionaries, (if success == True)\n\t\t\t\t  Parameter of dictionary : name = Name of person who posted the cab \n\t\t\t\t\t\t\t\t\t\t\temail = Email of person who posted the cab\n\t\t\t\t\t\t\t\t\t\t\tnumber = Contact Number of person who posted the cab\n\t\t\t\t\t\t\t\t\t\t\tavailSeats=Available seats in the cab \n\t\t\t\t\t\t\t\t\t\t\tdest=Destination\t\n\t\t\t\t\t\t\t\t\t\t\tdate=Date of Journey\n\t\t\t\t\t\t\t\t\t\t\ttime=Time of Journey\n\t\t\t\t\t\t\t\t\t\t\tthreshold = Threshold of time\n\n#### \u003e /search-cab , method : POST\n\tThis end point returns all the cabs that have the same destination and times lies between posted time +/- threshold\n\tParameters Required :\n\t\tdest : String - The destination of the user\n\t\tdate : Proper date in the format \"YYYY-MM-DD\"\n\t\ttime : Proper time in the 24 Hour format \"HH:MM\" \n\tParameters Returned : \n\t\tsuccess : Boolean (Whether the request was a success or not)\n\t\tdata \t: JSON i.e. a list of Dictionaries,  (if success == True)\n\t\t\t\t  Parameter of dictionary : name = Name of person who posted the cab \n\t\t\t\t\t\t\t\t\t\t\temail = Email of person who posted the cab\n\t\t\t\t\t\t\t\t\t\t\tnumber = Contact Number of person who posted the cab\n\t\t\t\t\t\t\t\t\t\t\tavailSeats=Available seats in the cab \n\t\t\t\t\t\t\t\t\t\t\tdest=Destination\n\t\t\t\t\t\t\t\t\t\t\tthreshold = Threshold of time\n\n#### \u003e /post-cab , method : POST\n\tThis endpoint is used to add a cab to the database\n\tParamenters Required : \n\t\tname = Name of person who posted the cab \n\t\temail = Email of person who posted the cab\n\t\tnumber = Contact Number of person who posted the cab\n\t\tavailSeats=Available seats in the cab \n\t\tdest=Destination\t\n\t\tdate=Date of Journey\n\t\ttime=Time of Journey\n\t\tthreshold = Threshold of time\n\tParameters Returned : \n\t\tsuccess : Boolean (Whether the request was a success or not)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefcon-007%2Fcab-sharing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefcon-007%2Fcab-sharing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefcon-007%2Fcab-sharing/lists"}