ImmoVlanAPI 2.1.2

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

// Install ImmoVlanAPI as a Cake Tool
#tool nuget:?package=ImmoVlanAPI&version=2.1.2

.NET

ImmoVlanAPI for Dotnet Core in C#

This is a wrapper for the immo.vlan.be API for ASP.NET Core. There is a nice documentation guide wich you can find on the ImmoVlan website. Read this before using this wrapper.

Contributions

Have you spotted a bug or want to add a missing feature? All pull requests are welcome! Please provide a description of the bug or feature you have fixed/added. Make sure to target the latest development branch.

1. Installation

The easiest way to install is through the NuGet package.

PM> Install-Package ImmoVlanAPI

2. Library limitations

The library has currently some limitations, I've created around 50% of all options. Following options have been added and are fully supported:

  1. Classification
  2. Location
  3. Description
  4. Financial Details
  5. General Information (Optional)
  6. Outdoor Description (Optional)
  7. Indoor Description (Optional)
  8. Certificates (Optional)
  9. Attachments (Optional)

3. Documentation

The documentation will be written soon.

Examples

Basic Example

ImmoVlanClient client = new ImmoVlanClient("business@mail.com", "technical@mail.com", 1, "XXXX");

Property property = new Property("123", "123", CommercialStatus.ONLINE,
    new Classification(TransactionType.SALE, PropertyType.BusinessSurface),
    new Location(new Address("9250")),
    new Description("Desc dutch", "Desc french"),
    new FinancialDetails(500)
);

var publishResult = await client.PublishProperty(property).Result;

This only contains the most basic options, there are a lot more, the documentation will get updated soon.

Semi-Advanced Example

Property prop = new Property("123", "123", CommercialStatus.ONLINE,
    new Classification(TransactionType.SALE, PropertyType.BusinessSurface, true),
    new Location(new Address("9250", "Neerstraat", "50")),
    new Description("Desc dutch", "Desc french", "Damn this is more"),
    new FinancialDetails(500) {
        AgencyFee = 50,
        Curreny = Curreny.CHF
    }) {
        GeneralInformation = new GeneralInformation() {
            ContactEmail = "sdhjgfj@fjhk.com"
        },
        OutdoorDescription = new OutdoorDescription() {
            HasBalcony = true
        },
        IndoorDescription = new IndoorDescription() {
            IsFurnished = true,
            Rooms = new Room[] {
                new Room(RoomType.Attic, 1, 50),
                new Room(RoomType.Bathroom, 1, 50),
            }
        },
        Certificates = new Certificates() {
            Epc = new EPC() {
                Reference = "JHSGHJKSQDH"
            },
            ElectricalInstallationCertificate = Certificate.Yes,
            ElectricalInstallationValidityDate = DateTime.Now
        },
        Attachments = new Attachments() {
            Pictures = new Picture[] { new Picture(1, "content") },
            Videos = new Video[] { new Video(1, "link") },
            Documents = new Document[] { new Document("name", 1, "content") }
        }
    };
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
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
2.1.2 224 4/8/2023
2.1.1 158 4/8/2023
2.1.0 234 3/19/2023
1.1.0 483 1/19/2022
1.0.9 455 1/19/2022
1.0.8 294 5/18/2021
1.0.7 333 3/25/2021
1.0.6 329 1/28/2021
1.0.5 331 1/20/2021
1.0.4 360 1/20/2021
1.0.3 385 10/15/2020
1.0.2 435 10/14/2020
1.0.1 439 10/14/2020
1.0.0 461 10/14/2020