CEPAberto 4.0.1066

There is a newer version of this package available.
See the version list below for details.
dotnet add package CEPAberto --version 4.0.1066
                    
NuGet\Install-Package CEPAberto -Version 4.0.1066
                    
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.1066" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CEPAberto" Version="4.0.1066" />
                    
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.1066
                    
#r "nuget: CEPAberto, 4.0.1066"
                    
#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.1066
                    
#: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.1066
                    
Install as a Cake Addin
#tool nuget:?package=CEPAberto&version=4.0.1066
                    
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.1126 84 1/5/2026
4.0.1123 76 1/5/2026
4.0.1120 81 1/5/2026
4.0.1113 79 1/5/2026
4.0.1104 88 12/29/2025
4.0.1101 82 12/29/2025
4.0.1096 85 12/29/2025
4.0.1089 247 12/15/2025
4.0.1086 235 12/15/2025
4.0.1083 232 12/15/2025
4.0.1080 220 12/15/2025
4.0.1077 217 12/15/2025
4.0.1066 346 12/8/2025
4.0.1063 500 12/1/2025
4.0.1060 485 12/1/2025
4.0.1055 199 11/24/2025
4.0.1052 187 11/24/2025
4.0.1049 187 11/24/2025
4.0.1044 187 11/24/2025
4.0.1035 192 11/24/2025
4.0.1032 191 11/24/2025
4.0.1017 227 11/10/2025
4.0.1012 229 11/10/2025
4.0.1005 198 10/27/2025
4.0.1002 182 10/27/2025
4.0.999 194 10/27/2025
4.0.994 193 10/27/2025
4.0.989 188 10/27/2025
4.0.978 182 10/20/2025
4.0.975 178 10/20/2025
4.0.970 185 10/20/2025
4.0.967 180 10/20/2025
4.0.956 193 10/6/2025
4.0.953 188 10/6/2025
4.0.948 187 10/6/2025
4.0.941 197 9/29/2025
4.0.938 183 9/29/2025
4.0.935 191 9/29/2025
4.0.926 184 9/29/2025
4.0.911 278 9/15/2025
4.0.906 273 9/15/2025
4.0.903 202 9/8/2025
4.0.900 189 9/8/2025
4.0.895 192 9/8/2025
4.0.892 193 9/8/2025
4.0.883 216 9/4/2025
4.0.880 198 9/4/2025
4.0.877 204 9/4/2025
4.0.874 207 9/4/2025
4.0.871 217 8/29/2025
4.0.860 214 8/29/2025
4.0.849 335 8/25/2025
4.0.836 192 8/18/2025
4.0.821 179 8/11/2025
4.0.816 196 8/11/2025
4.0.813 198 8/4/2025
4.0.810 182 7/28/2025
4.0.807 580 7/23/2025
4.0.804 576 7/23/2025
4.0.799 581 7/23/2025
4.0.792 199 7/14/2025
4.0.787 189 7/14/2025
4.0.784 207 7/10/2025
4.0.782 198 7/9/2025
4.0.779 201 7/9/2025
4.0.768 219 6/20/2025
4.0.761 233 5/19/2025
4.0.758 220 5/6/2025
4.0.749 227 4/21/2025
4.0.746 540 3/25/2025
4.0.743 231 3/17/2025
4.0.740 212 3/3/2025
4.0.737 229 3/3/2025
4.0.732 202 2/24/2025
4.0.729 183 2/24/2025
4.0.726 177 2/21/2025
4.0.720 169 2/21/2025
4.0.712 179 2/21/2025
4.0.707 187 2/17/2025
4.0.704 190 2/17/2025
4.0.699 169 2/17/2025
4.0.692 174 2/10/2025
4.0.689 170 2/3/2025
4.0.686 167 1/27/2025
4.0.683 163 1/27/2025
4.0.678 172 1/20/2025
4.0.675 161 1/20/2025
4.0.670 161 1/13/2025
4.0.667 148 1/13/2025
4.0.662 157 1/13/2025
4.0.657 151 1/13/2025
4.0.654 183 1/6/2025
4.0.651 184 1/6/2025
4.0.646 178 1/6/2025
4.0.639 178 12/31/2024
4.0.636 172 12/23/2024
4.0.633 169 12/23/2024
4.0.628 187 12/16/2024
4.0.625 183 12/16/2024
4.0.620 181 12/9/2024
4.0.617 175 12/9/2024
4.0.612 172 12/2/2024
4.0.609 174 11/25/2024
4.0.606 158 11/25/2024
4.0.601 167 11/25/2024
4.0.594 175 11/18/2024
4.0.591 197 11/11/2024
4.0.588 177 11/5/2024
4.0.585 184 10/28/2024
4.0.582 187 10/28/2024
4.0.577 175 10/21/2024
4.0.574 190 10/21/2024
4.0.569 300 10/14/2024
4.0.566 182 10/7/2024
4.0.563 181 10/3/2024
4.0.560 182 10/3/2024
4.0.557 193 10/3/2024
4.0.550 773 9/23/2024
4.0.547 171 9/23/2024
4.0.542 234 9/16/2024
4.0.539 190 9/16/2024
4.0.534 202 9/9/2024
4.0.531 192 9/9/2024
4.0.526 198 9/9/2024
4.0.519 170 9/9/2024
4.0.510 197 9/9/2024
4.0.499 232 9/2/2024
4.0.496 184 9/2/2024
4.0.491 191 8/27/2024
4.0.486 183 8/27/2024
4.0.481 177 8/27/2024
4.0.476 190 8/27/2024
4.0.471 194 8/27/2024
4.0.464 225 8/26/2024
4.0.453 224 8/24/2024
4.0.449 260 8/12/2024
4.0.446 171 8/5/2024
4.0.443 179 7/29/2024
4.0.440 208 7/22/2024
4.0.437 179 7/16/2024
4.0.434 175 7/16/2024
4.0.431 193 7/16/2024
4.0.426 187 7/16/2024
4.0.419 191 7/16/2024
4.0.412 192 7/16/2024
4.0.382 197 6/10/2024
4.0.375 206 6/3/2024
4.0.372 193 5/28/2024
4.0.369 172 5/28/2024
4.0.364 170 5/28/2024
4.0.357 204 5/28/2024
4.0.348 181 5/20/2024
4.0.345 186 5/20/2024
4.0.340 198 5/13/2024
4.0.337 218 5/6/2024
4.0.334 209 5/6/2024
4.0.331 207 4/30/2024
4.0.328 206 4/30/2024
4.0.323 221 4/30/2024
4.0.316 211 4/30/2024
4.0.313 185 4/29/2024
4.0.302 200 4/22/2024
4.0.299 204 4/22/2024
4.0.294 197 4/22/2024
4.0.291 179 4/22/2024
4.0.282 208 4/16/2024
4.0.279 181 4/16/2024
4.0.274 187 4/16/2024
4.0.267 202 4/16/2024
4.0.250 210 4/8/2024
4.0.247 180 4/8/2024
4.0.242 206 4/8/2024
4.0.235 200 3/25/2024
4.0.232 194 3/25/2024
4.0.227 209 3/25/2024
4.0.220 197 3/21/2024
4.0.210 218 2/26/2024
4.0.207 196 2/26/2024
4.0.202 192 2/26/2024
4.0.193 200 2/19/2024
4.0.186 211 2/19/2024
4.0.177 200 2/19/2024
4.0.160 207 2/14/2024
4.0.154 193 2/12/2024
4.0.151 183 2/12/2024
4.0.148 202 2/6/2024
4.0.145 198 2/5/2024
4.0.140 200 1/30/2024
4.0.135 190 1/29/2024
4.0.132 191 1/29/2024
4.0.127 192 1/29/2024
4.0.120 196 1/29/2024
4.0.112 214 1/22/2024
4.0.107 204 1/22/2024
4.0.104 206 1/22/2024
4.0.99 194 1/22/2024
4.0.90 226 1/16/2024
4.0.82 227 1/15/2024
4.0.77 205 1/15/2024
4.0.70 215 1/8/2024
4.0.67 211 1/8/2024
4.0.62 245 12/25/2023
4.0.59 218 12/25/2023
4.0.54 220 12/25/2023
4.0.47 203 12/25/2023
4.0.38 229 12/18/2023
4.0.35 210 12/18/2023
4.0.32 217 12/18/2023
4.0.25 202 12/18/2023
4.0.3 227 12/17/2023
3.0.467 225 12/14/2023
3.0.461 235 12/12/2023
3.0.458 238 12/11/2023
3.0.455 224 12/11/2023
3.0.452 253 12/11/2023
3.0.445 230 12/5/2023
3.0.440 208 12/5/2023
3.0.435 206 11/28/2023
3.0.432 203 11/28/2023
3.0.427 410 11/23/2023
3.0.424 206 11/21/2023
3.0.417 770 11/14/2023
3.0.411 180 11/14/2023
3.0.408 218 11/14/2023
3.0.400 230 11/10/2023
3.0.391 215 11/7/2023
3.0.388 214 11/7/2023
3.0.385 237 10/24/2023
3.0.382 225 10/17/2023
3.0.378 253 9/25/2023
3.0.373 235 9/24/2023
3.0.370 220 9/24/2023
3.0.365 231 9/24/2023
3.0.356 251 9/17/2023
3.0.353 231 9/17/2023
3.0.348 276 9/13/2023
3.0.338 244 9/13/2023
3.0.335 246 9/13/2023
3.0.332 248 9/13/2023
3.0.322 415 8/28/2023
3.0.314 454 8/13/2023
3.0.311 253 8/13/2023
3.0.308 271 8/13/2023
3.0.301 294 8/13/2023
3.0.291 364 8/3/2023
3.0.288 310 8/2/2023
3.0.283 327 7/28/2023
3.0.280 301 7/25/2023
3.0.277 289 7/25/2023
3.0.269 362 7/19/2023
3.0.266 275 7/19/2023
3.0.212 462 6/27/2023
3.0.209 341 6/26/2023
3.0.202 373 6/19/2023
3.0.193 297 6/18/2023
3.0.188 313 6/18/2023
3.0.183 290 6/18/2023
3.0.166 481 6/7/2023
3.0.156 475 5/31/2023
3.0.150 289 5/31/2023
3.0.147 304 5/31/2023
3.0.117 295 5/25/2023
3.0.114 567 5/4/2023
3.0.113 322 5/2/2023
3.0.109 329 4/28/2023
3.0.102 505 4/10/2023
3.0.97 347 4/9/2023
3.0.89 358 4/4/2023
3.0.84 472 4/3/2023
3.0.75 512 3/27/2023
3.0.72 443 3/25/2023
3.0.65 363 3/25/2023
3.0.56 363 3/25/2023
2.0.39 741 1/24/2023
2.0.38 838 1/9/2023
2.0.33 472 1/9/2023
2.0.32 461 1/9/2023
2.0.31 475 1/9/2023
2.0.26 493 12/14/2022
2.0.25 490 12/8/2022
2.0.24 465 12/8/2022
2.0.21 503 12/8/2022
2.0.12 1,441 11/1/2020
2.0.11 704 10/1/2020
2.0.10 809 9/1/2020
2.0.9 743 8/1/2020
2.0.8 881 7/1/2020
2.0.7 735 6/29/2020
1.0.58 843 6/1/2020
1.0.57 811 5/2/2020
1.0.56 800 5/2/2020
1.0.54 807 5/2/2020
1.0.52 755 5/2/2020
1.0.51 779 5/2/2020
1.0.50 816 5/2/2020
1.0.49 843 5/2/2020
1.0.48 770 5/2/2020
1.0.47 778 5/2/2020
1.0.46 806 5/1/2020
1.0.45 820 5/1/2020
1.0.44 799 5/1/2020
1.0.43 793 5/1/2020
1.0.42 776 5/1/2020
1.0.41 781 5/1/2020
1.0.40 806 5/1/2020
1.0.39 794 5/1/2020
1.0.38 785 5/1/2020
1.0.37 839 5/1/2020
1.0.36 783 5/1/2020
1.0.35 768 5/1/2020
1.0.34 780 5/1/2020
1.0.33 776 5/1/2020
1.0.32 740 5/1/2020
1.0.31 797 5/1/2020
1.0.30 742 5/1/2020
1.0.29 774 5/1/2020
1.0.28 765 5/1/2020
1.0.27 819 5/1/2020
1.0.26 824 5/1/2020
1.0.25 895 5/1/2020
1.0.24 806 5/1/2020
1.0.22 826 5/1/2020
1.0.21 774 4/24/2020
1.0.20 787 4/24/2020
1.0.19 779 4/24/2020
1.0.12 1,193 9/19/2018
1.0.9 1,166 8/16/2018
1.0.8 1,163 8/16/2018