Skip to content

Designed to retrieve Brazilian Zipe Code data and store it in a MongoDB database. This powerful tool has been created using C# .NET. Info: {..., StreetName, Altitude, Latitude, Longitude}

License

Notifications You must be signed in to change notification settings

pedrovasconcellos/zipe-code-download-robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZipeCode Robot [net7.0]

Designed to retrieve Brazilian ZipeCode data and store it in a MongoDB database. This powerful tool has been created using C# .NET.

Load the ceps that are in the [zipe-code-numbers.csv] for the ZipeCodeNumber Collection MongoDB

Data format when loading into the collection
{
	"_id" : ObjectId("643411c9fe31a5566cf1a8e8"),
	"cep" : "87043350"
},
{
	"_id" : ObjectId("643411bcfe31a5566cf17df0"),
	"cep" : "85803330"
},
{
	"_id" : ObjectId("643411bafe31a5566cf17620"),
	"cep" : "85070560"
},

Set Environment Variable

MongoDB ConnectionString:
Environment.GetEnvironmentVariable("Vasconcellos_ZipeCode_ConsoleApp_MongoDB")
www.cepaberto.com Token (Example):
- Environment.GetEnvironmentVariable("Vasconcellos_ZipeCode_ConsoleApp_Token") = 09cadce3330c25fc7de26238042a9df9
Example of Data generated by the robot
{
	"_id" : "01001000",
	"bairro" : "",
	"logradouro" : "Praça da Sé",
	"cidade" : "São Paulo",
	"estado" : "SP",
	"ddd" : 11,
	"ibge" : 3550308,
	"altitude" : "760.0",
	"latitude" : "-23.5479099981",
	"longitude" : "-46.636",
	"datetime" : ISODate("2023-04-08T08:23:08.980-03:00")
}

About

Designed to retrieve Brazilian Zipe Code data and store it in a MongoDB database. This powerful tool has been created using C# .NET. Info: {..., StreetName, Altitude, Latitude, Longitude}

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published