Skip to content

Arimuon/LibertyPY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Important

Unreleased, hoping for late December 2024 release.


LibertyPY

LibertyPY Logo

A Python API wrapper for the ER:LC (Emergency Response Liberty County) API.


Important

PLACEHOLDER


Capabilities:

  • Run ER:LC Commands Remotely
  • Show Server Information
  • Show Current Players
  • Show Join Logs
  • Show Queue Information
  • Show Kill logs
  • Show Command Logs
  • Show Mod Calls
  • Show Banned Players
  • Show Current Vehicles
  • Dynamic Rate Limiting

Installation

First you need to install the package.

pip install PLACEHOLDER

Setup

Setup is easy:

PLACEHOLDER CODE BLOCK

Now you can start using the API - here are some examples:

PLACEHOLDER CODE BLOCK

Classes and their methods:

Remote Commands

Create an instance ( command_api = Command(base_url, server_key) )
  • command_api.send_command(command)

Logs

  • get_join_logs()
  • get_command_logs()
  • get_kill_logs()
  • get_bans()
  • get_mod_calls()

Information

Create an instance ( info_api = Information(base_url, server_key) )
  • info_api.get_server_info()
  • info_api.get_players()
  • info_api.get_queue()
  • info_api.get_vehicles()

Links

Credits

Head Developer / Project Lead - Arimuon

Collaborator - Yodmin

Documentation Inspiration - 0xRaptor

Former Developer - Missile05

Releases

No releases published

Packages

No packages published