![]() |
VOOZH | about |
dotnet add package devdeer.CoffeeCupApiAccess --version 3.3.0
NuGet\Install-Package devdeer.CoffeeCupApiAccess -Version 3.3.0
<PackageReference Include="devdeer.CoffeeCupApiAccess" Version="3.3.0" />
<PackageVersion Include="devdeer.CoffeeCupApiAccess" Version="3.3.0" />Directory.Packages.props
<PackageReference Include="devdeer.CoffeeCupApiAccess" />Project file
paket add devdeer.CoffeeCupApiAccess --version 3.3.0
#r "nuget: devdeer.CoffeeCupApiAccess, 3.3.0"
#:package devdeer.CoffeeCupApiAccess@3.3.0
#addin nuget:?package=devdeer.CoffeeCupApiAccess&version=3.3.0Install as a Cake Addin
#tool nuget:?package=devdeer.CoffeeCupApiAccess&version=3.3.0Install as a Cake Tool
We are using this package in our own projects. So it is not only a playground but also production code. We are trying to keep the quality high but we are also humans. So if you find any issues please report them or even better: fix them and create a pull request.
This package contains logic to access CoffeeCup API with .NET 6 onwards.
In order to start using the logic in this package your first need to ensure that your DI container is configured correctly.
The following example shows a typical DI configuration:
using devdeer.CoffeeCupApiAccess.Logic.Core;
services.AddOptions<ApiOptions>()
.Configure<IConfiguration>(settings, configuration) =>
{
configuration.GetSection("CoffeeCupAccess").Bind(settings);
});
services.AddHttpClient<CoffeeCupAccess>(
c =>
{
var options = GetRequiredService<IOptions<ApiOptions>>();
c.BaseAddress = new Uri("https://api.coffeecupapp.com");
c.DefaultRequestHeaders.Add("Origin", options.Value.Origin);
});
This assumes that your appsettings.json contains a section like this:
{
"CoffeeCupAccess": {
"CoffeeCupApiVersion": "v1",
"CoffeeCupApiClientId": "",
"CoffeeCupApiClientSecret": "",
"CoffeeCupUsername": "",
"CoffeeCupPassword": "",
"CoffeeCupOrigin": ""
}
}
DEVDEER is a company from Magdeburg, Germany which is specialized in consulting, project management and development. We are very focussed on Microsoft Azure as a platform to run our products and solutions in the cloud. So all of our backend components usually runs in this environment and is developed using .NET. In the frontend area we are using react and a huge bunch of packages to build our UIs.
You can find us online:
👁 YouTube
👁 YouTube Channel Subscribers
👁 YouTube Channel Views
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.3.0 | 232 | 3/23/2026 |
| 3.2.0 | 109 | 3/22/2026 |
| 3.1.2 | 157 | 2/23/2026 |
| 3.1.0 | 222 | 10/11/2025 |
| 3.0.1 | 213 | 7/29/2025 |
| 3.0.0 | 456 | 10/16/2024 |
| 2.0.4 | 673 | 12/17/2023 |
| 2.0.3 | 463 | 12/17/2023 |
| 2.0.2 | 461 | 12/17/2023 |
| 2.0.1 | 459 | 12/17/2023 |
| 2.0.0 | 479 | 12/16/2023 |
| 1.1.0 | 766 | 7/10/2023 |
| 1.0.0 | 718 | 6/18/2023 |
| 0.2.0-beta | 657 | 6/17/2023 |
| 0.1.13-beta | 1,110 | 12/20/2019 |
| 0.1.12-beta | 965 | 12/20/2019 |
| 0.1.11-beta | 961 | 12/19/2019 |
| 0.1.10-beta | 984 | 12/6/2019 |
| 0.1.9-beta | 988 | 12/5/2019 |
| 0.1.8-beta | 983 | 12/2/2019 |
- Nuget updates.
- Switched to ValueTask<> as return type instead of Task<>.
- CoffeeCupAccess now is sealed.
- .NET 10 is supported
- Project endpoints are delivering state now.
- Added methods for getting expenses and expense categories.