Metadata-Version: 2.4
Name: oxrpy
Version: 0.5.0
Summary: Python wrapper for the Oxford Response API
Project-URL: Homepage, https://github.com/BLK-TTAUDI/OXRPY
Project-URL: Repository, https://github.com/BLK-TTAUDI/OXRPY
Classifier: Programming Language :: Python :: 3
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Dynamic: license-file

# oxrpy
A Python wrapper for the Oxford RP API.

## Installation
Install from PyPI:

pip install oxrpy
Or from source:

pip install -r requirements.txt

## Usage
from oxrpy import OxfordAPI

# Initialize with your server ID and key
api = OxfordAPI(server_id="your_server_id", server_key="your_server_key")

# Get server information
server_info = api.get_server()
print(server_info)

# Get current players
players = api.get_players()
print(players)

# Get queue
queue = api.get_queue()
print(queue)

# Get bans
bans = api.get_bans()
print(bans)

## Features
- Automatic rate limiting (default 0.5s between requests)
- Comprehensive error handling with custom exceptions
- Request timeouts
- Logging support
- Input validation

## API Endpoints
get_server(): Returns general server information.
get_players(): Returns list of current players.
get_queue(): Returns the reserved server queue.
get_bans(): Returns active bans.
All methods return the JSON response from the API.
