This project is a simple nodejs method to get a list of all embassy worldwide.
All embassies are retrieved from https://www.embassy-worldwide.com/.
The project uses puppeteer plugin to access the page, retrieve all data and store each embassy in a folder. Inside each folder (named with embassy name) there is two txt files called "Embassy Name + in or out", inside this files there are all coutries that there is relationship with that embassy.
Embassy Name-in means all embassies there are in that country;
Embassy Name-out means all coutries that have this country's embassyWhile files are saved, you can see a log of each file in cmd console
If you have any question or suggestion, please submit
It can take a little time to get all files, so be patient 😀
The project is still under development...
Before you begin, keep the following notes in mind:
- Tested in windows device, so i can't guarantee it will work in another OS
- Tested with latest version of Nodejs.
To install GetEmbassy, follow these steps:
1. Download the package (npm i getembassy or npm i https://github.com/piroposantosdev/GetEmbassy);
2. In terminal (CMD), go to folder where you extract the files (cd folder);
3. You must install node_modules, using npm i or npm install command
4. Type node index to start
Agradecemos às seguintes pessoas que contribuíram para este projeto:
Decco Piropo |
This design is free to use.