{"id":21314693,"url":"https://github.com/rohit1kumar/verloop-assignment","last_synced_at":"2025-03-15T21:23:03.191Z","repository":{"id":235716920,"uuid":"652547588","full_name":"rohit1kumar/verloop-assignment","owner":"rohit1kumar","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-12T09:59:17.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T10:23:38.880Z","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/rohit1kumar.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}},"created_at":"2023-06-12T09:44:50.000Z","updated_at":"2023-06-12T09:45:11.000Z","dependencies_parsed_at":"2024-04-24T11:29:42.812Z","dependency_job_id":"630daafe-c81c-4c41-b393-f7bad310305e","html_url":"https://github.com/rohit1kumar/verloop-assignment","commit_stats":null,"previous_names":["rohit1kumar/verloop-assignment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohit1kumar%2Fverloop-assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohit1kumar%2Fverloop-assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohit1kumar%2Fverloop-assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rohit1kumar%2Fverloop-assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rohit1kumar","download_url":"https://codeload.github.com/rohit1kumar/verloop-assignment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243791136,"owners_count":20348423,"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":[],"created_at":"2024-11-21T18:15:03.712Z","updated_at":"2025-03-15T21:23:03.168Z","avatar_url":"https://github.com/rohit1kumar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get Weather Data by City Name\n\n## Requirements\n- Python 3.11\n\n## Installation\n- Clone the repository\n```bash\n    git clone https://github.com/rohit1kumar/verloop-assignment.git\n```\n\n- Install the requirements\n```bash\n    pip install -r requirements.txt\n```\n\n## Usage\n- Export the API KEY\n```bash\n    export APIKEY=your_api_key\n```\n\n- Run the script\n```bash\n    python run.py\n```\n\n- Make a `POST` request\n```bash\n    curl --location 'http://127.0.0.1:5000/getCurrentWeather' \\\n    --header 'Content-Type: application/json' \\\n    --data '{\n        \"output_format\":\"xml\",\n        \"city\":\"mumbai\"\n    }'\n```\n\n- Response\n```bash\n    \u003croot\u003e\n        \u003cWeather\u003e34.0C\u003c/Weather\u003e\n        \u003cLatitude\u003e18.98\u003c/Latitude\u003e\n        \u003cLongitude\u003e72.83\u003c/Longitude\u003e\n        \u003cCity\u003eMumbai India\u003c/City\u003e\n    \u003c/root\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit1kumar%2Fverloop-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frohit1kumar%2Fverloop-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frohit1kumar%2Fverloop-assignment/lists"}