{"id":21269569,"url":"https://github.com/fardjad/node-vfs-covid-api","last_synced_at":"2025-07-11T05:31:08.312Z","repository":{"id":40923420,"uuid":"261027060","full_name":"fardjad/node-vfs-covid-api","owner":"fardjad","description":"A RESTful API to get VFS visa application centers' info","archived":false,"fork":false,"pushed_at":"2022-06-22T18:19:18.000Z","size":909,"stargazers_count":4,"open_issues_count":10,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-06T02:57:24.223Z","etag":null,"topics":["api","covid-19","vfs"],"latest_commit_sha":null,"homepage":"https://vfs-covid-api.now.sh","language":"TypeScript","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/fardjad.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":"2020-05-03T21:46:16.000Z","updated_at":"2022-07-09T10:29:55.000Z","dependencies_parsed_at":"2022-09-13T07:11:31.922Z","dependency_job_id":null,"html_url":"https://github.com/fardjad/node-vfs-covid-api","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fardjad%2Fnode-vfs-covid-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fardjad%2Fnode-vfs-covid-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fardjad%2Fnode-vfs-covid-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fardjad%2Fnode-vfs-covid-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fardjad","download_url":"https://codeload.github.com/fardjad/node-vfs-covid-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225693759,"owners_count":17509227,"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","covid-19","vfs"],"created_at":"2024-11-21T08:09:00.062Z","updated_at":"2024-11-21T08:09:00.614Z","avatar_url":"https://github.com/fardjad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VFS COVID API\n\n\u003e A RESTful API to get VFS visa application centers' info\n\n## Synopsis\n\nAs far as I know, VFS Global does not provide a public API to check/filter the [COVID-19 page data](https://www.vfsglobal.com/en/individuals/covid-19-customer-advisories.html).\n\nThis simple application fetches the [JS file that is imported on the \"COVID-19: CUSTOMER ADVISORIES\" page](https://www.vfsglobal.com/en/assets/js/script.min.js), parses it, extracts the data, and exposes it via a RESTful API.\n\n## What can I do with this?\n\nGiven you have an inquiry about VFS Global visa application centers, it can answer questions such as:\n\n1. I'm currently residing in **Albania** can I get a visa to visit **Canada**? ([`/api/vfs-application-centers?from=albania\u0026to=canada`](https://vfs-covid-api.now.sh/api/vfs-application-centers?from=albania\u0026to=canada))\n\n2. From which countries can I get a visa to visit **Australia**? ([`/api/vfs-application-centers?to=australia`](https://vfs-covid-api.now.sh/api/vfs-application-centers?to=australia))\n\n3. Which visa application centers are currently **Open** and can process my application to visit **Germany**. ([`/vfs-application-centers?to=germany\u0026toast_message=open`](https://vfs-covid-api.now.sh/api/vfs-application-centers?to=germany\u0026toast_message=open))\n\nFor more info, have a look the API [documentation](https://vfs-covid-api.now.sh/api).\n\n## Web Front-end\n\nA web frontend is available at ([`/`](https://vfs-covid-api.now.sh/))\n\n## Running the server\n\n```bash\ngit clone https://github.com/fardjad/node-vfs-covid-api\ncd node-vfs-covid-api\nnpm install\nnpm start\n```\n\n_Note: You'll need Node.js v12+ to run the server._\n\n### Configurable environment variables\n\n| Variable                        | Description                                                   | Default Value                                        |\n| ------------------------------- | ------------------------------------------------------------- | ---------------------------------------------------- |\n| HOST                            | Host address for the http server to listen on                 | 0.0.0.0                                              |\n| PORT                            | Port for the http server to listen on                         | 3000                                                 |\n| WORKER_THREADS_COUNT            | Number of worker threads for ESTree Parser and Code Generator | Number of CPUs                                       |\n| VFS_SCRIPT_URL                  | URL of VFS Global script.min.js file                          | https://www.vfsglobal.com/en/assets/js/script.min.js |\n| VFS_DATA_CACHE_DURATION_SECONDS | Number of seconds to cache the processed VFS data             | 300                                                  |\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffardjad%2Fnode-vfs-covid-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffardjad%2Fnode-vfs-covid-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffardjad%2Fnode-vfs-covid-api/lists"}