CEPAberto 3.0.432

There is a newer version of this package available.
See the version list below for details.
dotnet add package CEPAberto --version 3.0.432
                    
NuGet\Install-Package CEPAberto -Version 3.0.432
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CEPAberto" Version="3.0.432" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CEPAberto" Version="3.0.432" />
                    
Directory.Packages.props
<PackageReference Include="CEPAberto" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CEPAberto --version 3.0.432
                    
#r "nuget: CEPAberto, 3.0.432"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CEPAberto@3.0.432
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CEPAberto&version=3.0.432
                    
Install as a Cake Addin
#tool nuget:?package=CEPAberto&version=3.0.432
                    
Install as a Cake Tool

CEP Aberto

CEP Aberto API wrapper written in C# (.NET).

Implements all V3 features

GitHub license time tracker

CEPAberto

CI/CD

Build status Last commit Tests Coverage Code Smells LOC
Build status GitHub last commit AppVeyor tests (branch) Coverage Code Smells Lines of Code

Code Quality

Codacy Badge Codacy Badge

codecov CodeFactor

Maintainability Test Coverage

Quality Gate Status Maintainability Rating

Technical Debt Duplicated Lines (%)

Reliability Rating Security Rating

Bugs Vulnerabilities


Installation

Github Releases

GitHub last release Github All Releases

Download the latest zip file from the Release page.

Nuget package manager

Package Version Downloads
CEPAberto CEPAberto NuGet Version CEPAberto NuGet Downloads

Features

This client supports the following operations/features of the API V3:

  1. Get data based on postal code (CEP).
  2. Get data of a nearest geo location (lat/lon) (Max of 10km).
  3. Get data based on state initials (UF), city, neighborhood and street/address.
  4. Get list of cities of a state based on state initials.
  5. Update the postal code (CEP).

Setup the CEPAbertoClient

Initializes a new instance of CEPAbertoClient class. The API token can be found at http://www.cepaberto.com/api_key (A free registration is required!)


var client = new CEPAbertoClient("my API token");
//var postalData = client.GetData("00000000");
//var cities = client.GetCities("SP");

Get data based on postal code (CEP)

Searches for a postal code data based on postal code


var client = new CEPAbertoClient("my API key");
var postalCode = "40010000";
var result = client.GetData(postalCode);

if(result.Success)
{
   Console.WriteLine("Postal data for the zip code {0} found!", postalCode);
   Console.WriteLine("Lat: {0} | Lon: {1}", result.Latitude, result.Longitude);
}
else
   Console.WriteLine("No data for the zip code {0} available", postalCode);

Get data of a nearest geo location (lat/lon) (Max of 10km)

Searches for the first postal code closest to the requested coordinates, limited to 10km (API limit, not library)


var client = new CEPAbertoClient("my API key");
var result = client.GetData("-20.55", "-43.63");

if(result.Success)
   Console.WriteLine("Postal code found: {0}", result.PostalCode);
else
   Console.WriteLine("Unable to find a postal data for the coordinates supplied!");

Get data based on state initials (UF), city, neighborhood and street/address

Searches for a postal code data for the address supplied. Neighborhood and Street/Address are optional!


var client = new CEPAbertoClient("my API key");
var result = client.GetData("SP","Ubatuba");

if(result.Success)
    Console.WriteLine("Postal code found: {0}", result.PostalCode);
else
    Console.WriteLine("Cannot find postal code for Ubatuba/SP");

Get list of cities of a state based on state initials

Get a list of cities for a given state (use state initials aka UF)


var client = new CEPAbertoClient("my API key");
var result = client.GetCities("AM");

if(result.Success)
    foreach(var city in result.Cities)
        Console.WriteLine("Found city {0} in Amazonas (AM)", city.Name);

Update the postal code (CEP)

Request an update on postal codes that may be outdated or not registered. Accepts upon 100 postal codes (CEP)


var client = new CEPAbertoClient("my API key");
var result = client.Update("03177010");

if(result.Success)
    Console.WriteLine("Success on request update on postal code 03177-010");

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.1.8 88 1/12/2026
4.1.5 86 1/12/2026
4.0.1126 93 1/5/2026
4.0.1123 81 1/5/2026
4.0.1120 86 1/5/2026
4.0.1113 84 1/5/2026
4.0.1104 92 12/29/2025
4.0.1101 86 12/29/2025
4.0.1096 89 12/29/2025
4.0.1089 251 12/15/2025
4.0.1086 237 12/15/2025
4.0.1083 234 12/15/2025
4.0.1080 222 12/15/2025
4.0.1077 219 12/15/2025
4.0.1066 350 12/8/2025
4.0.1063 503 12/1/2025
4.0.1060 494 12/1/2025
4.0.1055 203 11/24/2025
4.0.1052 192 11/24/2025
4.0.1049 193 11/24/2025
4.0.1044 194 11/24/2025
4.0.1035 197 11/24/2025
4.0.1032 197 11/24/2025
4.0.1017 230 11/10/2025
4.0.1012 237 11/10/2025
4.0.1005 201 10/27/2025
4.0.1002 191 10/27/2025
4.0.999 198 10/27/2025
4.0.994 196 10/27/2025
4.0.989 191 10/27/2025
4.0.978 189 10/20/2025
4.0.975 181 10/20/2025
4.0.970 187 10/20/2025
4.0.967 187 10/20/2025
4.0.956 197 10/6/2025
4.0.953 192 10/6/2025
4.0.948 193 10/6/2025
4.0.941 201 9/29/2025
4.0.938 187 9/29/2025
4.0.935 194 9/29/2025
4.0.926 187 9/29/2025
4.0.911 282 9/15/2025
4.0.906 277 9/15/2025
4.0.903 206 9/8/2025
4.0.900 194 9/8/2025
4.0.895 197 9/8/2025
4.0.892 198 9/8/2025
4.0.883 221 9/4/2025
4.0.880 202 9/4/2025
4.0.877 211 9/4/2025
4.0.874 210 9/4/2025
4.0.871 222 8/29/2025
4.0.860 219 8/29/2025
4.0.849 339 8/25/2025
4.0.836 198 8/18/2025
4.0.821 185 8/11/2025
4.0.816 206 8/11/2025
4.0.813 204 8/4/2025
4.0.810 186 7/28/2025
4.0.807 588 7/23/2025
4.0.804 580 7/23/2025
4.0.799 586 7/23/2025
4.0.792 203 7/14/2025
4.0.787 194 7/14/2025
4.0.784 212 7/10/2025
4.0.782 202 7/9/2025
4.0.779 205 7/9/2025
4.0.768 223 6/20/2025
4.0.761 236 5/19/2025
4.0.758 223 5/6/2025
4.0.749 233 4/21/2025
4.0.746 543 3/25/2025
4.0.743 237 3/17/2025
4.0.740 220 3/3/2025
4.0.737 234 3/3/2025
4.0.732 207 2/24/2025
4.0.729 188 2/24/2025
4.0.726 181 2/21/2025
4.0.720 172 2/21/2025
4.0.712 183 2/21/2025
4.0.707 194 2/17/2025
4.0.704 193 2/17/2025
4.0.699 174 2/17/2025
4.0.692 179 2/10/2025
4.0.689 176 2/3/2025
4.0.686 170 1/27/2025
4.0.683 168 1/27/2025
4.0.678 182 1/20/2025
4.0.675 165 1/20/2025
4.0.670 165 1/13/2025
4.0.667 153 1/13/2025
4.0.662 162 1/13/2025
4.0.657 155 1/13/2025
4.0.654 187 1/6/2025
4.0.651 189 1/6/2025
4.0.646 182 1/6/2025
4.0.639 185 12/31/2024
4.0.636 177 12/23/2024
4.0.633 173 12/23/2024
4.0.628 191 12/16/2024
4.0.625 187 12/16/2024
4.0.620 185 12/9/2024
4.0.617 179 12/9/2024
4.0.612 179 12/2/2024
4.0.609 178 11/25/2024
4.0.606 165 11/25/2024
4.0.601 170 11/25/2024
4.0.594 180 11/18/2024
4.0.591 203 11/11/2024
4.0.588 183 11/5/2024
4.0.585 190 10/28/2024
4.0.582 190 10/28/2024
4.0.577 178 10/21/2024
4.0.574 197 10/21/2024
4.0.569 303 10/14/2024
4.0.566 188 10/7/2024
4.0.563 185 10/3/2024
4.0.560 187 10/3/2024
4.0.557 198 10/3/2024
4.0.550 786 9/23/2024
4.0.547 177 9/23/2024
4.0.542 237 9/16/2024
4.0.539 196 9/16/2024
4.0.534 205 9/9/2024
4.0.531 196 9/9/2024
4.0.526 205 9/9/2024
4.0.519 177 9/9/2024
4.0.510 200 9/9/2024
4.0.499 238 9/2/2024
4.0.496 190 9/2/2024
4.0.491 198 8/27/2024
4.0.486 186 8/27/2024
4.0.481 181 8/27/2024
4.0.476 192 8/27/2024
4.0.471 197 8/27/2024
4.0.464 228 8/26/2024
4.0.453 228 8/24/2024
4.0.449 263 8/12/2024
4.0.446 175 8/5/2024
4.0.443 184 7/29/2024
4.0.440 212 7/22/2024
4.0.437 186 7/16/2024
4.0.434 180 7/16/2024
4.0.431 198 7/16/2024
4.0.426 190 7/16/2024
4.0.419 196 7/16/2024
4.0.412 196 7/16/2024
4.0.382 202 6/10/2024
4.0.375 210 6/3/2024
4.0.372 200 5/28/2024
4.0.369 176 5/28/2024
4.0.364 175 5/28/2024
4.0.357 208 5/28/2024
4.0.348 186 5/20/2024
4.0.345 191 5/20/2024
4.0.340 204 5/13/2024
4.0.337 224 5/6/2024
4.0.334 213 5/6/2024
4.0.331 216 4/30/2024
4.0.328 210 4/30/2024
4.0.323 227 4/30/2024
4.0.316 214 4/30/2024
4.0.313 189 4/29/2024
4.0.302 204 4/22/2024
4.0.299 210 4/22/2024
4.0.294 204 4/22/2024
4.0.291 183 4/22/2024
4.0.282 214 4/16/2024
4.0.279 185 4/16/2024
4.0.274 193 4/16/2024
4.0.267 207 4/16/2024
4.0.250 214 4/8/2024
4.0.247 187 4/8/2024
4.0.242 212 4/8/2024
4.0.235 205 3/25/2024
4.0.232 198 3/25/2024
4.0.227 213 3/25/2024
4.0.220 204 3/21/2024
4.0.210 224 2/26/2024
4.0.207 203 2/26/2024
4.0.202 197 2/26/2024
4.0.193 207 2/19/2024
4.0.186 217 2/19/2024
4.0.177 208 2/19/2024
4.0.160 211 2/14/2024
4.0.154 198 2/12/2024
4.0.151 187 2/12/2024
4.0.148 208 2/6/2024
4.0.145 201 2/5/2024
4.0.140 207 1/30/2024
4.0.135 195 1/29/2024
4.0.132 195 1/29/2024
4.0.127 196 1/29/2024
4.0.120 202 1/29/2024
4.0.112 219 1/22/2024
4.0.107 206 1/22/2024
4.0.104 210 1/22/2024
4.0.99 198 1/22/2024
4.0.90 232 1/16/2024
4.0.82 231 1/15/2024
4.0.77 209 1/15/2024
4.0.70 218 1/8/2024
4.0.67 214 1/8/2024
4.0.62 250 12/25/2023
4.0.59 222 12/25/2023
4.0.54 225 12/25/2023
4.0.47 207 12/25/2023
4.0.38 233 12/18/2023
4.0.35 218 12/18/2023
4.0.32 224 12/18/2023
4.0.25 206 12/18/2023
4.0.3 234 12/17/2023
3.0.467 230 12/14/2023
3.0.461 239 12/12/2023
3.0.458 243 12/11/2023
3.0.455 231 12/11/2023
3.0.452 259 12/11/2023
3.0.445 232 12/5/2023
3.0.440 210 12/5/2023
3.0.435 207 11/28/2023
3.0.432 209 11/28/2023
3.0.427 419 11/23/2023
3.0.424 207 11/21/2023
3.0.417 775 11/14/2023
3.0.411 186 11/14/2023
3.0.408 224 11/14/2023
3.0.400 232 11/10/2023
3.0.391 220 11/7/2023
3.0.388 215 11/7/2023
3.0.385 241 10/24/2023
3.0.382 227 10/17/2023
3.0.378 258 9/25/2023
3.0.373 239 9/24/2023
3.0.370 221 9/24/2023
3.0.365 238 9/24/2023
3.0.356 253 9/17/2023
3.0.353 233 9/17/2023
3.0.348 279 9/13/2023
3.0.338 248 9/13/2023
3.0.335 247 9/13/2023
3.0.332 251 9/13/2023
3.0.322 419 8/28/2023
3.0.314 455 8/13/2023
3.0.311 254 8/13/2023
3.0.308 271 8/13/2023
3.0.301 295 8/13/2023
3.0.291 364 8/3/2023
3.0.288 315 8/2/2023
3.0.283 331 7/28/2023
3.0.280 305 7/25/2023
3.0.277 291 7/25/2023
3.0.269 363 7/19/2023
3.0.266 280 7/19/2023
3.0.212 466 6/27/2023
3.0.209 343 6/26/2023
3.0.202 379 6/19/2023
3.0.193 299 6/18/2023
3.0.188 315 6/18/2023
3.0.183 291 6/18/2023
3.0.166 484 6/7/2023
3.0.156 479 5/31/2023
3.0.150 292 5/31/2023
3.0.147 306 5/31/2023
3.0.117 295 5/25/2023
3.0.114 571 5/4/2023
3.0.113 330 5/2/2023
3.0.109 332 4/28/2023
3.0.102 508 4/10/2023
3.0.97 350 4/9/2023
3.0.89 359 4/4/2023
3.0.84 476 4/3/2023
3.0.75 516 3/27/2023
3.0.72 447 3/25/2023
3.0.65 367 3/25/2023
3.0.56 366 3/25/2023
2.0.39 743 1/24/2023
2.0.38 840 1/9/2023
2.0.33 475 1/9/2023
2.0.32 462 1/9/2023
2.0.31 479 1/9/2023
2.0.26 495 12/14/2022
2.0.25 496 12/8/2022
2.0.24 467 12/8/2022
2.0.21 504 12/8/2022
2.0.12 1,443 11/1/2020
2.0.11 708 10/1/2020
2.0.10 811 9/1/2020
2.0.9 748 8/1/2020
2.0.8 884 7/1/2020
2.0.7 741 6/29/2020
1.0.58 846 6/1/2020
1.0.57 814 5/2/2020
1.0.56 802 5/2/2020
1.0.54 813 5/2/2020
1.0.52 758 5/2/2020
1.0.51 781 5/2/2020
1.0.50 824 5/2/2020
1.0.49 846 5/2/2020
1.0.48 774 5/2/2020
1.0.47 779 5/2/2020
1.0.46 815 5/1/2020
1.0.45 824 5/1/2020
1.0.44 804 5/1/2020
1.0.43 797 5/1/2020
1.0.42 781 5/1/2020
1.0.41 783 5/1/2020
1.0.40 813 5/1/2020
1.0.39 798 5/1/2020
1.0.38 789 5/1/2020
1.0.37 844 5/1/2020
1.0.36 787 5/1/2020
1.0.35 772 5/1/2020
1.0.34 783 5/1/2020
1.0.33 781 5/1/2020
1.0.32 743 5/1/2020
1.0.31 799 5/1/2020
1.0.30 746 5/1/2020
1.0.29 781 5/1/2020
1.0.28 773 5/1/2020
1.0.27 826 5/1/2020
1.0.26 830 5/1/2020
1.0.25 900 5/1/2020
1.0.24 809 5/1/2020
1.0.22 831 5/1/2020
1.0.21 778 4/24/2020
1.0.20 790 4/24/2020
1.0.19 782 4/24/2020
1.0.12 1,200 9/19/2018
1.0.9 1,170 8/16/2018
1.0.8 1,168 8/16/2018