{"id":20293318,"url":"https://github.com/mingderwang/python-api-vercel","last_synced_at":"2025-04-11T11:40:47.633Z","repository":{"id":66841499,"uuid":"302937746","full_name":"mingderwang/python-api-vercel","owner":"mingderwang","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-28T02:59:37.000Z","size":10,"stargazers_count":3,"open_issues_count":1,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T08:01:38.430Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"python-api-vercel-three.vercel.app","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/mingderwang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGE_LOGS.md","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":"2020-10-10T15:58:30.000Z","updated_at":"2023-09-07T14:37:55.000Z","dependencies_parsed_at":"2023-02-23T02:30:43.465Z","dependency_job_id":null,"html_url":"https://github.com/mingderwang/python-api-vercel","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Fpython-api-vercel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Fpython-api-vercel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Fpython-api-vercel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mingderwang%2Fpython-api-vercel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mingderwang","download_url":"https://codeload.github.com/mingderwang/python-api-vercel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248385406,"owners_count":21094880,"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-14T15:23:32.631Z","updated_at":"2025-04-11T11:40:47.621Z","avatar_url":"https://github.com/mingderwang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python api server run on vercel\nTo have your account on https://vercel.com/ first.\n\n# debug on localhost\n```\nvercel dev\n```\n瀏覽 http://localhost:3000\n# deploy\n```\nvercel\n```\n以下 demo 網址 (python-api.ming-taiwan.vercel.app) 是我部署的 URL, 你們部署回有你們新的 URL\n# demo hello\n```\ncurl https://python-api.ming-taiwan.vercel.app/api/hello\n```\n[click here](https://python-api.ming-taiwan.vercel.app/api/hello)\n# demo date\n```\ncurl https://python-api.ming-taiwan.vercel.app/api/date\n```\n[click here](https://python-api.ming-taiwan.vercel.app/api/date)\n# demo star\n```\ncurl https://python-api.ming-taiwan.vercel.app/api/star\n```\n[click here](https://python-api.ming-taiwan.vercel.app/api/star)\n# 你們部署的 URL 會在執行 vercel 時, 得到 (如下圖)\nwhen you run \"vercel\" it will show your endpoint of the api server\n![](https://paper-attachments.dropbox.com/s_ABC4EF72CAE6330A7110BF5598F7628D572897B760F2581D1EDFC941719A6DF4_1602345294957_Screen+Shot+2020-10-10+at+11.54.31+PM.png)\n\n# production\n```\nvercel --prod\n```\n[click here](https://python-api-alpha.vercel.app/api/star)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingderwang%2Fpython-api-vercel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmingderwang%2Fpython-api-vercel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmingderwang%2Fpython-api-vercel/lists"}