Erlc.Net 0.1.0

dotnet add package Erlc.Net --version 0.1.0
                    
NuGet\Install-Package Erlc.Net -Version 0.1.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="Erlc.Net" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Erlc.Net" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Erlc.Net" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Erlc.Net --version 0.1.0
                    
#r "nuget: Erlc.Net, 0.1.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.
#:package Erlc.Net@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Erlc.Net&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Erlc.Net&version=0.1.0
                    
Install as a Cake Tool

Erlc.Net

Erlc.Net is a modern API wrapper for the popular Roblox game Emergency Response: Liberty County.

Erlc.Net makes use of modern C# features, including async/await via TAP, seperate types and use of System.Text.Json

Getting Started

Firstly, make sure your server has the 'ER:LC API Pack', which can be bought for 600 Robux.

Next, find your API Key in your server's settings, which can be found in the top right. After you have your API Key, you can make an ErlcClient to interact with Police Roleplay Community's API:

using Erlc.Net;

var token = "<FILL-IN-TOKEN-HERE>";

var client = new ErlcClient(token);

To test if your API Key works, you can check your server's status:

var response = await client.GetServer();
Console.WriteLine(response.StatusCode);
// Expected: 200
// 403 indicates a faulty API Key.

Contributing

If you'd like to contribute, you're welcome to fork this project, change code and create a pull request to the dev branch. A tutorial on this can be found with various sources, including YouTube and GitHub.

Thanks for contributing to my project!

<a href="https://dot.net"><img alt="Built with C#" src="https://badges.penpow.dev/badges/built-with/csharp/cozy.svg"></a> <a href="https://coff.ee/wqffles.com"><img alt="Buy me a coffee" src="https://badges.penpow.dev/badges/donate/buy-me-a-coffee/cozy.svg"></a>

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

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
0.1.0 100 7/13/2025