{"id":29165225,"url":"https://github.com/mayurjadhav2002/udemy-coupons-api","last_synced_at":"2026-05-14T22:34:57.816Z","repository":{"id":155080540,"uuid":"559182469","full_name":"mayurjadhav2002/Udemy-Coupons-API","owner":"mayurjadhav2002","description":"Udemy Coupon code api is built using flask and Beautifulsoup, can be used to provide more resources to the student by integrating it in your application.","archived":false,"fork":false,"pushed_at":"2023-04-25T15:28:27.000Z","size":27,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T07:11:45.579Z","etag":null,"topics":["api","flask"],"latest_commit_sha":null,"homepage":"https://flask-udemy-coupon-code.mayurjadhav.repl.co/data","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/mayurjadhav2002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","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,"zenodo":null}},"created_at":"2022-10-29T10:13:18.000Z","updated_at":"2025-02-20T23:38:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"94bdf69a-3968-40a2-bd3f-a775f843f104","html_url":"https://github.com/mayurjadhav2002/Udemy-Coupons-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mayurjadhav2002/Udemy-Coupons-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayurjadhav2002%2FUdemy-Coupons-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayurjadhav2002%2FUdemy-Coupons-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayurjadhav2002%2FUdemy-Coupons-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayurjadhav2002%2FUdemy-Coupons-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayurjadhav2002","download_url":"https://codeload.github.com/mayurjadhav2002/Udemy-Coupons-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayurjadhav2002%2FUdemy-Coupons-API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265625587,"owners_count":23800625,"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","flask"],"created_at":"2025-07-01T07:10:49.442Z","updated_at":"2026-05-14T22:34:57.785Z","avatar_url":"https://github.com/mayurjadhav2002.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Udemy Coupons API v.1.0.0\n\nUdemy Coupon code API v.1.0.0 is built using flask and Beautifulsoup, can be used to provide more resources to the student by integrating it in your application.\nData scrapped from the websites such as discudemy, real.discout, freeudemies etc. Sqlite3 used to make the flask application more flexible and extension of the database would be easy for anyone who wanted to upgrade this API.\n\n## Demo Output\nPostman Application:\n![Image](https://i.postimg.cc/zX4qD3WM/image.png)\nBrowser:\n![Image](https://i.postimg.cc/1X9rq9F1/screenshot-127-0-0-1-5000-2022-10-29-16-04-16.png)\n\n## Installation\n\nInstall this api to local environment with git\n\n```bash\n  git clone https://github.com/mayurjadhav2002/Udemy-Coupons-API.git\n  cd Udemy-Coupons-API\n```\n    \n## Run Locally\n\nClone the project\n\n```bash\n  git clone https://link-to-project\n```\n\nGo to the project directory\n\n```bash\n  cd my-project\n```\n\nInstall dependencies\n\n```bash\n   pip3 install -r requirements.txt\n```\n\nStart the server\n\n```bash\n    $env:FLASK_APP = \"app\"\n    flask run\n```\nOR \n```bash\n   python app.py\n```\n\n\n\n\n## Use in your Project\n\n```javascript\nimport React,  { useEffect, useState } from \"react\";\n\n\nfunction App() {\n    const [user, setUser] = useState([]);\n\n    const fetchData = () =\u003e {\n        return fetch(\"http://127.0.0.1:5000/\")\n            .then((response) =\u003e response.json())\n            .then((data) =\u003e setUser(data));\n    }\n\n    useEffect(() =\u003e {\n        fetchData();\n    },[])\n        \n    return (\n            \u003col\u003e\n                {user \u0026\u0026 user.length \u003e 0 \u0026\u0026 user.map((userObj, index) =\u003e (\n                    \u003cli key={userObj.id} link\u003e\u003ca  href={userObj.link} target='_blank'\u003e{userObj.title}\u003c/a\u003e\u003c/li\u003e\n                ))}\n            \u003c/ol\u003e\n        );\n}\n```\n\n\n## Contributing\n\nContributions are always welcome!\n\nSee `contributing.md` for ways to get started.\n\nPlease adhere to this project's `code of conduct`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayurjadhav2002%2Fudemy-coupons-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayurjadhav2002%2Fudemy-coupons-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayurjadhav2002%2Fudemy-coupons-api/lists"}