๐Ÿ›ก๏ธ NEXUS DEVELOPER PORTAL

Build the future of high-fidelity streaming integrations. ๐Ÿ™๏ธ๐Ÿ›ฐ๏ธ๐Ÿ’Ž

๐Ÿ›ก๏ธ Authentication

All requests to the Nexus Developer API must be authenticated via a **Developer Key**. You can generate these keys in your Broadcaster Dashboard.

Pass your key in the HTTP header of every request:

Header: X-Nexus-Dev-Key: nx_your_key_here
        

โšก Rate Limiting

To ensure the survival of the Nexus cluster, all keys are shielded by a **Rate Limiter**. Failure to respect these limits will result in a 429 Too Many Requests response. ๐Ÿ›ก๏ธโš™๏ธ

  • Standard Limit: 60 requests per minute.
  • Global Stats: 10 requests per minute.

๐Ÿ›ฐ๏ธ Endpoint Catalog (v1)

1. Handshake (Verify)

Verify your connection and retrieve host information.

GET /api_dev.php?action=verify

Returns: {"success":true, "owner":"username", "app":"AppName"}

2. Streamer Intelligence (Read)

Retrieve real-time status and viewer counts for a specific user.

GET /api_dev.php?action=streamer&user=devil

Returns: {"success":true, "data":{"is_live":true, "viewers":42, ...}}

3. Stream Control (Update)

Update your stream title and category via bot automation.

POST /api_dev.php?action=update_stream

JSON Body: {"title": "Epic Stream Name", "category_id": 5}

4. Chat Injection (Bot)

Post messages to your channel chat using your bot's identity. ๐Ÿค–โšก

POST /api_dev.php?action=send_chat

JSON Body: {"message": "[Nexus Bot] Sync Successful!"}

๐Ÿค– The C# Blueprint

Integrate directly with your Windows applications using our high-fidelity C# starter code.

using System.Net.Http;
using System.Text.Json;

// ...
var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-Nexus-Dev-Key", "nx_...");

var payload = new { message = "Nexus Link Stable ๐Ÿ›ก๏ธ๐Ÿ›ฐ๏ธ" };
var response = await client.PostAsync(
    "https://nexus-streams.com/api_dev.php?action=send_chat", 
    new StringContent(JsonSerializer.Serialize(payload))
);
        

Nexus Developer API v1.0.1 - Released ๐Ÿ›ก๏ธ๐Ÿ’Ž๐Ÿš€