{"id":18495360,"url":"https://github.com/diptangsu/finland-api","last_synced_at":"2026-04-27T11:31:44.825Z","repository":{"id":39738403,"uuid":"157827942","full_name":"diptangsu/FinLand-API","owner":"diptangsu","description":"API for FinLand android app made using Flask. HackerEarth BTS Hackathon","archived":false,"fork":false,"pushed_at":"2022-11-22T04:29:51.000Z","size":58865,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T03:31:00.863Z","etag":null,"topics":["api","flask","hackathon","hackerearth","python","python36","rest-api"],"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/diptangsu.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}},"created_at":"2018-11-16T07:15:47.000Z","updated_at":"2020-12-07T10:25:28.000Z","dependencies_parsed_at":"2022-08-21T01:40:51.350Z","dependency_job_id":null,"html_url":"https://github.com/diptangsu/FinLand-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diptangsu/FinLand-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptangsu%2FFinLand-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptangsu%2FFinLand-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptangsu%2FFinLand-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptangsu%2FFinLand-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diptangsu","download_url":"https://codeload.github.com/diptangsu/FinLand-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diptangsu%2FFinLand-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","hackathon","hackerearth","python","python36","rest-api"],"created_at":"2024-11-06T13:24:28.743Z","updated_at":"2026-04-27T11:31:44.810Z","avatar_url":"https://github.com/diptangsu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FinLand-API\nAPI for [FinLand android app](https://github.com/morninigstar/FinLand) made using [Flask](http://flask.pocoo.org/). HackerEarth [BTS Hackathon](https://www.hackerearth.com/sprints/bts-global-hackathon-asia/)\n\nThe entire project is [here](https://github.com/tmoynandy/FinLand-BTS18).\n\n\n# Setup\nMake sure you have `python3.6` installed in your machine before you continue. For windows users, the path to `python3.6` must be added to the system environment variable `PATH`.  \nInstall virtualenv in python. `pip3 install virtualenv`\n\n## Create a virtual environment\n### Linux\n```bash\n$ virtualenv -p python3 venv\n```\nThis will create a virtual environment named `venv` with `python3` as its interpreter.\n\n## Windows\nIf you have multiple versions of python installed and added to `PATH`, find out the path for `python3.6`.  \n```cmd\n\u003e where python\nC:\\Python27\\python.exe\nC:\\Users\\deepd\\AppData\\Local\\Programs\\Python\\Python37-32\\python.exe\nC:\\Users\\deepd\\AppData\\Local\\Programs\\Python\\Python36\\python.exe\n```\nYou will get an output of all the python execuables that are added to `PATH`. For example I have `python2.7`, `python3.6` and `python3.7` installed.\n\nUse the path of `python3.6` to create the virtual environment.\n```cmd\n\u003e virtualenv -p C:\\Users\\deepd\\AppData\\Local\\Programs\\Python\\Python36\\python.exe venv\n```\n\n## Activating the virtualenv\n### Linux\n```bash\n$ source venv/bin/activate\n(venv) ...$ \n```\n### Windows\n```cmd\n\u003e venv\\Scripts\\activate\n(venv) ...\u003e \n```\n\n## Installing requirements\nYou can either install requirements from the [requirements.txt](/requirements.txt) file but using the command  \n```\npip install -r requirements.txt\n```\n\n## Running the API\nRun the [api.py](/api.py) file to start the API server.  \n```\npython api.py\n```\n\n## API Response Exmples\nOn success\n```javascript\n{\n  land-type: \"Herbaceous Vegetation\",\n  probability: 79.46,\n  status: \"success\",\n  status-code: 1,\n  time-taken: 1.6259400844573975\n}\n```\nOn failure\n```javascript\n{\n  land-type: null,\n  probability: null,\n  status: \"failure\",\n  status-code: 0,\n  time-taken: -1\n}\n```\n\n\n## Team c_of_pythons\n1. [Diptangsu Goswami](https://github.com/diptangsu)\n2. [Tanumoy Nandi](https://github.com/tmoynandy)\n3. [Sujoy Dutta](https://github.com/Sujoydatta26)\n4. [Koustav Chanda](https://github.com/KoustavCode)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiptangsu%2Ffinland-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiptangsu%2Ffinland-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiptangsu%2Ffinland-api/lists"}