Install-Package WHMCS_API -Version 1.0.0
dotnet add package WHMCS_API --version 1.0.0
<PackageReference Include="WHMCS_API" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WHMCS_API --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: WHMCS_API, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install WHMCS_API as a Cake Addin
#addin nuget:?package=WHMCS_API&version=1.0.0

// Install WHMCS_API as a Cake Tool
#tool nuget:?package=WHMCS_API&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WHMCS API C# Wrapper

This is an library to comunicate with the WHMCS API<br/> Currently these functions are already implemented


How to install<br /> NuGet Packet Manager Console on VisualStudio Install-Package WHMCS_API <br />or<br /> <a href="https://github.com/hitmanpt/whmcs-api/releases">Releases</a> project page (need to also download Newtonsoft.Json if not already included on your project)

The implemented functions are designed to be very easy to use The following code demonstrates to to implement the GetClientDetails on an ASP.net MVC app<br /> More information on the project Wiki <a href="https://github.com/hitmanpt/whmcs-api/wiki/Getting-Started">Getting Started</a>

using WHMCS_API;
namespace YOUR_APP
    public class YOUR_CLASS
        public ActionResult ClientDetails(int clientID)
            string username = "WHMCS_USERNAME";
            string password = "WHMCS_PASSWORD";
            string accessKey = "WHNMCS_ACCESS_KEY";
            string whmcsUrl = "WHMCS_USERFRONTEND_URL"; //ex: https://example.com/client
            API api = new API(username, password, accessKey, whmcsUrl);
            ViewBag.UserDetails = api.GetClientsDetails(clientID, Stats: true); //The model passed is of type GetClientsDetails
            return View();

You can still use this library to call non implemented<br /> Read more at the project Wiki <a href="https://github.com/hitmanpt/whmcs-api/wiki/%5BAdvanced-Usage%5D-Unsuported-Actions">[Advanced Usage] Unsuported Actions</a>

You can also create custom functions of already implemented functions.<br /> Read more at the project Wiki <a href="https://github.com/hitmanpt/whmcs-api/wiki/%5BAdvanced-Usage%5D-Supported-Actions">[Advanced Usage] Supported Actions</a>


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 328 11/12/2019
0.9.13 754 3/3/2017
0.7.12 652 2/17/2017
0.6.10 632 2/10/2017
0.6.9 644 2/9/2017
0.5.7 672 2/8/2017
0.4.3 725 2/8/2017