{"id":24650626,"url":"https://github.com/ujitkumar1/phonecallapi","last_synced_at":"2026-04-12T21:37:55.266Z","repository":{"id":182343330,"uuid":"600671038","full_name":"ujitkumar1/PhoneCallAPI","owner":"ujitkumar1","description":"PhoneCallAPI","archived":false,"fork":false,"pushed_at":"2023-02-12T19:28:31.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T18:16:11.785Z","etag":null,"topics":["flask-restful","python","restful-api"],"latest_commit_sha":null,"homepage":"https://github.com/ujitkumar1/PhoneCallAPI","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/ujitkumar1.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}},"created_at":"2023-02-12T08:01:13.000Z","updated_at":"2023-02-12T19:39:29.000Z","dependencies_parsed_at":"2023-07-19T17:02:37.264Z","dependency_job_id":null,"html_url":"https://github.com/ujitkumar1/PhoneCallAPI","commit_stats":null,"previous_names":["ujitkumar1/phonecallapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujitkumar1%2FPhoneCallAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujitkumar1%2FPhoneCallAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujitkumar1%2FPhoneCallAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujitkumar1%2FPhoneCallAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ujitkumar1","download_url":"https://codeload.github.com/ujitkumar1/PhoneCallAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244686351,"owners_count":20493430,"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":["flask-restful","python","restful-api"],"created_at":"2025-01-25T18:16:14.570Z","updated_at":"2026-04-12T21:37:50.207Z","avatar_url":"https://github.com/ujitkumar1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PhoneCallAPI: A Python app that allows to manage and track their calls\n\n### Description:\n\nA RESTful API built with Python Flask that enables users to manage and track their phone calls. The API includes an\nendpoint for retrieving all calls associated with a specific phone number and allows for viewing call information.\n\n### Prerequisites:\n\n1. Python Programming language\n2. MySql\n3. flask\n4. flask_restful\n5. json\n\n### Installation:\n\nTo install the required packages and libraries, run the following command in your current working directory:\n\ncommand\n\npip install -r requirements.txt\n\nThis command will install all the necessary dependencies listed in the requirements.txt file, allowing you to run the\nproject without any issues.\n\n### Usage:\n\nTo run the application, execute the following command in the src directory\n\nCommand\n\npython main.py\n\nThis will start the application, and you should be able to use it. (or) Directly run the main.py file\n\n#### Endpoint Working:\n\n1. Initiate-call(http://127.0.0.1:5000/initiate-call)\n\n    - Endpoint for initiating a call report based on the form phone number and to phone number.\n\n    - Example:\n\n      Input:\n      Json_data = {\n      \"from_number\":9935567501,\n      \"to_number\":1234567810\n      }\n\n      Output:\"Data saved from number: 9935567501 to number: 1234567811\"\n\n    * A call will be initiated from 9935567501 to 1234567810, the information will be then stored in the database.\n\n2. call_report(http://localhost:5000/call-report?phone=1234567812)\n\n    - Endpoint for retrieving call report based on phone number.\n\n    - Example:\n\n      Resquest_url : http://localhost:5000/call-report?phone=1234567812\n\n      Output:\n      {\n      \"Success\": true,\n      \"data\": [\n      {\n      \"id\": 1,\n      \"from_number\": 1234567812,\n      \"to_number\": 1234567814,\n      \"start_time\": \"2023-02-12 16:10:27.651245\"\n      }\n      ],\n      \"next_url\": \"http://localhost:5000/call-report?phone=1234567812\u0026page=2\"\n      }\n\n    - next_url refers the url to the next pagination\n\n### Contact:\n\nName : Ujit Kumar\n\nEmail : ujitkumar1@gmail.com","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujitkumar1%2Fphonecallapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujitkumar1%2Fphonecallapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujitkumar1%2Fphonecallapi/lists"}