CEPAberto 4.0.911

dotnet add package CEPAberto --version 4.0.911
                    
NuGet\Install-Package CEPAberto -Version 4.0.911
                    
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="4.0.911" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CEPAberto" Version="4.0.911" />
                    
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 4.0.911
                    
#r "nuget: CEPAberto, 4.0.911"
                    
#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@4.0.911
                    
#: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=4.0.911
                    
Install as a Cake Addin
#tool nuget:?package=CEPAberto&version=4.0.911
                    
Install as a Cake Tool

CEP Aberto SDK .NET

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

Implements all V3 features

GitHub license time tracker DeepSource

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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.0.911 236 9/15/2025
4.0.906 232 9/15/2025
4.0.903 147 9/8/2025
4.0.900 151 9/8/2025
4.0.895 152 9/8/2025
4.0.892 150 9/8/2025
4.0.883 171 9/4/2025
4.0.880 159 9/4/2025
4.0.877 162 9/4/2025
4.0.874 155 9/4/2025
4.0.871 173 8/29/2025
4.0.860 176 8/29/2025
4.0.849 290 8/25/2025
4.0.836 143 8/18/2025
4.0.821 141 8/11/2025
4.0.816 156 8/11/2025
4.0.813 149 8/4/2025
4.0.810 133 7/28/2025
4.0.807 543 7/23/2025
4.0.804 530 7/23/2025
4.0.799 543 7/23/2025
4.0.792 160 7/14/2025
4.0.787 155 7/14/2025
4.0.784 164 7/10/2025
4.0.782 160 7/9/2025
4.0.779 161 7/9/2025
4.0.768 166 6/20/2025
4.0.761 188 5/19/2025
4.0.758 182 5/6/2025
4.0.749 192 4/21/2025
4.0.746 505 3/25/2025
4.0.743 187 3/17/2025
4.0.740 180 3/3/2025
4.0.737 190 3/3/2025
4.0.732 167 2/24/2025
4.0.729 145 2/24/2025
4.0.726 149 2/21/2025
4.0.720 135 2/21/2025
4.0.712 141 2/21/2025
4.0.707 148 2/17/2025
4.0.704 149 2/17/2025
4.0.699 135 2/17/2025
4.0.692 141 2/10/2025
4.0.689 131 2/3/2025
4.0.686 122 1/27/2025
4.0.683 121 1/27/2025
4.0.678 133 1/20/2025
4.0.675 134 1/20/2025
4.0.670 125 1/13/2025
4.0.667 119 1/13/2025
4.0.662 117 1/13/2025
4.0.657 118 1/13/2025
4.0.654 152 1/6/2025
4.0.651 148 1/6/2025
4.0.646 143 1/6/2025
4.0.639 141 12/31/2024
4.0.636 137 12/23/2024
4.0.633 132 12/23/2024
4.0.628 142 12/16/2024
4.0.625 143 12/16/2024
4.0.620 142 12/9/2024
4.0.617 142 12/9/2024
4.0.612 128 12/2/2024
4.0.609 134 11/25/2024
4.0.606 123 11/25/2024
4.0.601 123 11/25/2024
4.0.594 142 11/18/2024
4.0.591 140 11/11/2024
4.0.588 145 11/5/2024
4.0.585 147 10/28/2024
4.0.582 147 10/28/2024
4.0.577 140 10/21/2024
4.0.574 153 10/21/2024
4.0.569 264 10/14/2024
4.0.566 149 10/7/2024
4.0.563 133 10/3/2024
4.0.560 144 10/3/2024
4.0.557 152 10/3/2024
4.0.550 660 9/23/2024
4.0.547 127 9/23/2024
4.0.542 190 9/16/2024
4.0.539 157 9/16/2024
4.0.534 166 9/9/2024
4.0.531 154 9/9/2024
4.0.526 160 9/9/2024
4.0.519 138 9/9/2024
4.0.510 161 9/9/2024
4.0.499 198 9/2/2024
4.0.496 151 9/2/2024
4.0.491 156 8/27/2024
4.0.486 151 8/27/2024
4.0.481 150 8/27/2024
4.0.476 155 8/27/2024
4.0.471 146 8/27/2024
4.0.464 193 8/26/2024
4.0.453 192 8/24/2024
4.0.449 212 8/12/2024
4.0.446 135 8/5/2024
4.0.443 143 7/29/2024
4.0.440 173 7/22/2024
4.0.437 149 7/16/2024
4.0.434 150 7/16/2024
4.0.431 146 7/16/2024
4.0.426 153 7/16/2024
4.0.419 150 7/16/2024
4.0.412 155 7/16/2024
4.0.382 155 6/10/2024
4.0.375 161 6/3/2024
4.0.372 142 5/28/2024
4.0.369 148 5/28/2024
4.0.364 141 5/28/2024
4.0.357 165 5/28/2024
4.0.348 145 5/20/2024
4.0.345 147 5/20/2024
4.0.340 163 5/13/2024
4.0.337 183 5/6/2024
4.0.334 171 5/6/2024
4.0.331 169 4/30/2024
4.0.328 176 4/30/2024
4.0.323 188 4/30/2024
4.0.316 176 4/30/2024
4.0.313 150 4/29/2024
4.0.302 168 4/22/2024
4.0.299 155 4/22/2024
4.0.294 155 4/22/2024
4.0.291 147 4/22/2024
4.0.282 178 4/16/2024
4.0.279 159 4/16/2024
4.0.274 160 4/16/2024
4.0.267 166 4/16/2024
4.0.250 175 4/8/2024
4.0.247 141 4/8/2024
4.0.242 173 4/8/2024
4.0.235 151 3/25/2024
4.0.232 161 3/25/2024
4.0.227 163 3/25/2024
4.0.220 170 3/21/2024
4.0.210 184 2/26/2024
4.0.207 163 2/26/2024
4.0.202 165 2/26/2024
4.0.193 160 2/19/2024
4.0.186 174 2/19/2024
4.0.177 165 2/19/2024
4.0.160 171 2/14/2024
4.0.154 163 2/12/2024
4.0.151 151 2/12/2024
4.0.148 167 2/6/2024
4.0.145 164 2/5/2024
4.0.140 166 1/30/2024
4.0.135 145 1/29/2024
4.0.132 161 1/29/2024
4.0.127 155 1/29/2024
4.0.120 160 1/29/2024
4.0.112 185 1/22/2024
4.0.107 164 1/22/2024
4.0.104 166 1/22/2024
4.0.99 158 1/22/2024
4.0.90 179 1/16/2024
4.0.82 186 1/15/2024
4.0.77 171 1/15/2024
4.0.70 182 1/8/2024
4.0.67 174 1/8/2024
4.0.62 214 12/25/2023
4.0.59 183 12/25/2023
4.0.54 176 12/25/2023
4.0.47 175 12/25/2023
4.0.38 196 12/18/2023
4.0.35 172 12/18/2023
4.0.32 182 12/18/2023
4.0.25 155 12/18/2023
4.0.3 190 12/17/2023
3.0.467 191 12/14/2023
3.0.461 200 12/12/2023
3.0.458 204 12/11/2023
3.0.455 195 12/11/2023
3.0.452 212 12/11/2023
3.0.445 201 12/5/2023
3.0.440 181 12/5/2023
3.0.435 177 11/28/2023
3.0.432 173 11/28/2023
3.0.427 364 11/23/2023
3.0.424 179 11/21/2023
3.0.417 743 11/14/2023
3.0.411 156 11/14/2023
3.0.408 189 11/14/2023
3.0.400 188 11/10/2023
3.0.391 188 11/7/2023
3.0.388 188 11/7/2023
3.0.385 216 10/24/2023
3.0.382 196 10/17/2023
3.0.378 230 9/25/2023
3.0.373 207 9/24/2023
3.0.370 196 9/24/2023
3.0.365 207 9/24/2023
3.0.356 223 9/17/2023
3.0.353 202 9/17/2023
3.0.348 231 9/13/2023
3.0.338 228 9/13/2023
3.0.335 218 9/13/2023
3.0.332 221 9/13/2023
3.0.322 400 8/28/2023
3.0.314 425 8/13/2023
3.0.311 228 8/13/2023
3.0.308 259 8/13/2023
3.0.301 251 8/13/2023
3.0.291 336 8/3/2023
3.0.288 266 8/2/2023
3.0.283 302 7/28/2023
3.0.280 272 7/25/2023
3.0.277 262 7/25/2023
3.0.269 331 7/19/2023
3.0.266 244 7/19/2023
3.0.212 425 6/27/2023
3.0.209 312 6/26/2023
3.0.202 336 6/19/2023
3.0.193 264 6/18/2023
3.0.188 273 6/18/2023
3.0.183 259 6/18/2023
3.0.166 440 6/7/2023
3.0.156 435 5/31/2023
3.0.150 250 5/31/2023
3.0.147 267 5/31/2023
3.0.117 257 5/25/2023
3.0.114 527 5/4/2023
3.0.113 272 5/2/2023
3.0.109 290 4/28/2023
3.0.102 458 4/10/2023
3.0.97 307 4/9/2023
3.0.89 317 4/4/2023
3.0.84 436 4/3/2023
3.0.75 467 3/27/2023
3.0.72 400 3/25/2023
3.0.65 333 3/25/2023
3.0.56 322 3/25/2023
2.0.39 705 1/24/2023
2.0.38 778 1/9/2023
2.0.33 423 1/9/2023
2.0.32 419 1/9/2023
2.0.31 422 1/9/2023
2.0.26 456 12/14/2022
2.0.25 439 12/8/2022
2.0.24 431 12/8/2022
2.0.21 437 12/8/2022
2.0.12 1,365 11/1/2020
2.0.11 654 10/1/2020
2.0.10 729 9/1/2020
2.0.9 669 8/1/2020
2.0.8 804 7/1/2020
2.0.7 666 6/29/2020
1.0.58 780 6/1/2020
1.0.57 727 5/2/2020
1.0.56 735 5/2/2020
1.0.54 749 5/2/2020
1.0.52 682 5/2/2020
1.0.51 711 5/2/2020
1.0.50 735 5/2/2020
1.0.49 780 5/2/2020
1.0.48 703 5/2/2020
1.0.47 726 5/2/2020
1.0.46 725 5/1/2020
1.0.45 752 5/1/2020
1.0.44 723 5/1/2020
1.0.43 743 5/1/2020
1.0.42 711 5/1/2020
1.0.41 720 5/1/2020
1.0.40 744 5/1/2020
1.0.39 725 5/1/2020
1.0.38 723 5/1/2020
1.0.37 770 5/1/2020
1.0.36 705 5/1/2020
1.0.35 717 5/1/2020
1.0.34 707 5/1/2020
1.0.33 714 5/1/2020
1.0.32 693 5/1/2020
1.0.31 710 5/1/2020
1.0.30 692 5/1/2020
1.0.29 713 5/1/2020
1.0.28 705 5/1/2020
1.0.27 748 5/1/2020
1.0.26 769 5/1/2020
1.0.25 815 5/1/2020
1.0.24 749 5/1/2020
1.0.22 770 5/1/2020
1.0.21 711 4/24/2020
1.0.20 726 4/24/2020
1.0.19 706 4/24/2020
1.0.12 1,137 9/19/2018
1.0.9 1,112 8/16/2018
1.0.8 1,110 8/16/2018