Russkyc.Addressess.Philippines 0.25.2

Prefix Reserved
dotnet add package Russkyc.Addressess.Philippines --version 0.25.2                
NuGet\Install-Package Russkyc.Addressess.Philippines -Version 0.25.2                
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="Russkyc.Addressess.Philippines" Version="0.25.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Russkyc.Addressess.Philippines --version 0.25.2                
#r "nuget: Russkyc.Addressess.Philippines, 0.25.2"                
#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.
// Install Russkyc.Addressess.Philippines as a Cake Addin
#addin nuget:?package=Russkyc.Addressess.Philippines&version=0.25.2

// Install Russkyc.Addressess.Philippines as a Cake Tool
#tool nuget:?package=Russkyc.Addressess.Philippines&version=0.25.2                

Russkyc.Addresses.Philippines - Address Information Provider from the Philippine Standard Geographic Code (PSGC)

Breaking Changes!

  • All Methods are now Asynchronous by default, conventions changed into [MethodName]Async. Example GetProvincesAsync()

Getting Started

Imports

using Russkyc.Addressess.Philippines;
using Russkyc.Addressess.Philippines.Entities;

Api Reference

AddressProvider Class

The AddressProvider class is a static class that provides access to address information for regions, provinces, cities/municipalities, barangays, and zip codes in the Philippines.

Method Description
GetRegionsAsync() Gets all regions in the Philippines.
GetRegionAsync(string name) Gets a region by its name, case-insensitive.
GetRegionByNameAsync(string regionName) Gets a region by its region name, case-insensitive.
FindRegionAsync(string name) Finds regions whose names contain the specified string, case-insensitive.
FindRegionByNameAsync(string regionName) Finds regions whose region names contain the specified string, case-insensitive.
GetProvincesAsync() Gets all provinces in the Philippines.
GetProvincesByRegionAsync(Region region) Gets provinces in the specified region.
GetProvincesByRegionCodeAsync(string regionCode) Gets provinces in the region with the specified region code.
GetProvinceByNameAsync(string provinceName) Gets a province by its name, case-insensitive.
FindProvinceByNameAsync(string provinceName) Finds provinces whose names contain the specified string, case-insensitive.
GetCitiesMunicipalitiesAsync() Gets all cities and municipalities in the Philippines.
GetCitiesMunicipalitiesByRegionAsync(Region region) Gets cities and municipalities in the specified region.
GetCitiesMunicipalitiesByRegionCodeAsync(string regionCode) Gets cities and municipalities in the region with the specified region code.
GetCitiesMunicipalitiesByProvinceAsync(Province province) Gets cities and municipalities in the specified province.
GetCitiesMunicipalitiesByProvinceCodeAsync(string provinceCode) Gets cities and municipalities in the province with the specified province code.
GetCityMunicipalityByNameAsync(string cityMunicipalityName) Gets a city or municipality by its name, case-insensitive.
FindCityMunicipalityByNameAsync(string cityMunicipalityName) Finds cities and municipalities whose names contain the specified string, case-insensitive.
GetBarangaysAsync() Gets all barangays in the Philippines.
GetBarangaysByRegionAsync(Region region) Gets barangays in the specified region.
GetBarangaysByRegionCodeAsync(string regionCode) Gets barangays in the region with the specified region code.
GetBarangaysByProvinceAsync(Province province) Gets barangays in the specified province.
GetBarangaysByProvinceCodeAsync(string provinceCode) Gets barangays in the province with the specified province code.
GetBarangaysByCityMunicipalityAsync(CityMunicipality cityMunicipality) Gets barangays in the specified city or municipality.
GetBarangaysByCityCodeAsync(string cityCode) Gets barangays in the city or municipality with the specified city code.
GetBarangayByNameAsync(string barangayName) Gets a barangay by its name, case-insensitive.
FindBarangayByNameAsync(string barangayName) Finds barangays whose names contain the specified string, case-insensitive.
GetZipCodeByCityMunicipalityAsync(CityMunicipality cityMunicipality) Gets the zip code for the specified city or municipality.
GetZipCodeByCityMunicipalityNameAsync(string cityMunicipalityName) Gets the zip code for the specified city or municipality by name, case-insensitive.

Full Documentation

For full documentation please visit the repository

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 was computed.  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. 
.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 was computed. 
.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
0.25.2 329 1/1/2024
0.23.2 105 12/30/2023

BREAKING CHANGES:

- All methods are now async by default