AnointedAutomation.Objects.API
1.0.2
See the version list below for details.
dotnet add package AnointedAutomation.Objects.API --version 1.0.2
NuGet\Install-Package AnointedAutomation.Objects.API -Version 1.0.2
<PackageReference Include="AnointedAutomation.Objects.API" Version="1.0.2" />
<PackageVersion Include="AnointedAutomation.Objects.API" Version="1.0.2" />
<PackageReference Include="AnointedAutomation.Objects.API" />
paket add AnointedAutomation.Objects.API --version 1.0.2
#r "nuget: AnointedAutomation.Objects.API, 1.0.2"
#:package AnointedAutomation.Objects.API@1.0.2
#addin nuget:?package=AnointedAutomation.Objects.API&version=1.0.2
#tool nuget:?package=AnointedAutomation.Objects.API&version=1.0.2
AnointedAutomation.Objects.API
A .NET library providing standardized data models and objects for API development, including account management, billing, and common API response structures.
Overview
AnointedAutomation.Objects.API offers a comprehensive set of data models designed for building robust APIs. It includes models for user accounts, billing operations, and standardized API responses with built-in JSON serialization support.
Installation
Install via NuGet:
dotnet add package AnointedAutomation.Objects.API
Features
- Account Management Models: User accounts, profiles, credentials, and IP information
- Billing System Models: Complete billing workflow including products, purchases, subscriptions, and payment processing
- API Response Standardization: Consistent response format with generic type support
- File Upload Support: Custom form file handling for multipart uploads
- MongoDB Integration: Built-in MongoDB support for all data models
- JSON Serialization: Newtonsoft.Json integration with custom serializers
Key Components
Account Models
User- Core user account informationProfile- User profile detailsCredentials- Authentication credentialsIPInfo- IP address tracking and geolocation
Billing Models
Product- Product catalog itemsPurchase- Purchase transactionsSubscription- Recurring billing subscriptionsBill- Invoice/bill generationCreditCard- Payment card informationPaymentCredentials- Payment authenticationAddress- Billing/shipping addresses
API Utilities
ResponseData<T>- Generic API response wrapperCustomFormFile- Multipart file upload handlingJObjectSerializer- Custom JSON serialization for MongoDB
Usage Example
using AnointedAutomation.Objects.API;
// Create a standardized API response
var response = new ResponseData<User>
{
Success = true,
Data = new User
{
Email = "user@example.com",
Username = "johndoe"
},
Message = "User retrieved successfully"
};
// Handle file uploads
public async Task<IActionResult> Upload(CustomFormFile file)
{
if (file != null && file.Length > 0)
{
// Process file
}
}
Dependencies
- .NET 8.0
- MongoDB.Driver (3.4.0)
- Newtonsoft.Json (13.0.3)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (8.0.15)
Documentation
For detailed documentation on individual models and their properties, see the API subfolder README.
License
Copyright © 2023 Anointed Automation, LLC. All rights reserved.
Author
Stewarded by Alexander Fields GitHub: https://github.com/AnointedAutomation Part of the Anointed family of ventures.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- AnointedAutomation.Objects (>= 1.0.1)
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.1.1 | 193 | 8/23/2026 |
| 1.1.0 | 105 | 8/18/2026 |
| 1.0.3 | 523 | 6/27/2026 |
| 1.0.2 | 560 | 5/30/2026 |
| 1.0.1 | 614 | 3/15/2026 |
| 1.0.0 | 160 | 3/15/2026 |
| 0.0.18 | 222 | 3/11/2026 |
| 0.0.17 | 362 | 3/1/2026 |
| 0.0.16 | 126 | 3/1/2026 |
| 0.0.15 | 153 | 2/26/2026 |
| 0.0.14 | 181 | 2/21/2026 |
| 0.0.13 | 140 | 2/21/2026 |
| 0.0.12 | 121 | 2/21/2026 |
| 0.0.11 | 140 | 2/20/2026 |
| 0.0.10 | 190 | 2/20/2026 |
| 0.0.9 | 135 | 2/20/2026 |
| 0.0.8 | 140 | 2/19/2026 |
| 0.0.7 | 154 | 2/17/2026 |