This repository contains a solution developed to solve the Data Pirates Challenge proposed by Neoway.
About • How it works • Tech Stack •
The challenge consists to search for zip codes from a URL located in the Brazilian post office website, separate the records by FU, set an ID for each zip code and output it as a JSONL file.
This project has a python file that performs the necessary functions to complete the challenge.
Before you begin, you will need to have the following tools installed on your machine: Git, latest stable release of Python3 (3.9.0 to the present date).
In addition, it is good to have an editor to work with the code like VSCode
# Install the following dependencies
$ pip install requests
$ pip install beautifulsoup4
# Clone this repository
$ git clone https://github.com/looeyf/dataPiratesChallenge.git
# Access the project folder cmd/terminal
$ cd dataPiratesChallenge
# Run the .py file
$ python dataPiratesChallenge.py
Wait for the program to finish and open the .JSON file that will be generated at the project folder to see the results. P.S.: JSON files can be opened with your favorite browser.
The following tools were used in the construction of the project: