Zoopla.Net.Core
1.0.0
dotnet add package Zoopla.Net.Core --version 1.0.0
NuGet\Install-Package Zoopla.Net.Core -Version 1.0.0
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="Zoopla.Net.Core" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Zoopla.Net.Core --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Zoopla.Net.Core, 1.0.0"
#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 Zoopla.Net.Core as a Cake Addin
#addin nuget:?package=Zoopla.Net.Core&version=1.0.0
// Install Zoopla.Net.Core as a Cake Tool
#tool nuget:?package=Zoopla.Net.Core&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Zoopla.Net
Zoopla.Net is a C# .NET Core wrapper for the Zoopla.co.uk API. The documentation for the Zoopla API can be found here
Written in .Net Core 2.0
Usage
//GetAreaValueGraphs
//https://developer.zoopla.co.uk/docs/read/Area_Value_Graphs
[Test]
public async Task Should_Get_GetAreaValueGraphs()
{
AreaValueGraphResponse result;
using (var api = new ZooplaDotNetClient(ApiKey.Value))
{
var options = new AreaValueGraphOptions { Size = Size.MEDIUM };
var parameters = new StandardLocationParameters { PostCode = "e84dt" };
result = await api.GetAreaValueGraphs(parameters, options);
}
Assert.That(result.AverageValuesGraphUrl,
Is.EqualTo("https://www.zoopla.co.uk/dynimgs/graph/average_prices/E8?width=400&height=212"));
}
//GetAverageAreaSoldPrice
//https://developer.zoopla.co.uk/docs/read/Average_area_sold_price
[Test]
public async Task Should_Get_GetAverageAreaSoldPrice()
{
AverageAreaSoldPriceResponse result;
using (var api = new ZooplaDotNetClient(ApiKey.Value))
{
var parameters = new StandardLocationParameters { PostCode = "e8", OutputType = OutputType.OUTCODE };
result = await api.GetAverageAreaSoldPrice(parameters);
}
Assert.That(result.PricesUrl,
Is.EqualTo("https://www.zoopla.co.uk/home-values/london/e8/hackney-dalston"));
}
//GetAverageSoldPrices
//https://developer.zoopla.co.uk/docs/read/Average_Sold_Prices
[Test]
public async Task Should_Get_GetAverageSoldPrices()
{
AverageSoldPriceResponse result;
using (var api = new ZooplaDotNetClient(ApiKey.Value))
{
var options = new AverageSoldPricesOptions();
var paramerters = new StandardLocationParameters
{
PostCode = "e84dt",
OutputType = OutputType.OUTCODE,
AreaType = AreaType.POSTCODES
};
result = await api.GetAverageSoldPrices(paramerters, options);
}
Assert.That(result.Areas.Count, Is.EqualTo(10));
}
Product | Versions 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 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- Newtonsoft.Json (>= 10.0.3)
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 |
---|---|---|
1.0.0 | 1,016 | 2/11/2018 |