Skip to content

A simple mode to get a list of available embassy in each country. Good for your war game, map, etc

License

Notifications You must be signed in to change notification settings

piroposantosdev/GetEmbassy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetEmbassy

GitHub repo size GitHub language count GitHub forks Bitbucket open issues Bitbucket open pull requests

image

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 embassy

While 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 😀

Adjustments and Improvements

The project is still under development...

💻 Prerequisites

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.

🚀 Install GetEmbassy

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 

🤝 Collaborators

Agradecemos às seguintes pessoas que contribuíram para este projeto:

Foto do Iuri Silva no GitHub
Decco Piropo

📝 License

This design is free to use.

⬆ Voltar ao topo

About

A simple mode to get a list of available embassy in each country. Good for your war game, map, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published