atheon_codex 0.2.1 copy "atheon_codex: ^0.2.1" to clipboard
atheon_codex: ^0.2.1 copied to clipboard

Dart Package for Atheon

Atheon Codex: Core Dart SDK #

The atheon_codex library provides low-level access to the Atheon Gateway Ad Service. It is platform-agnostic and works across Mobile, Web, Desktop, and Server environments.

Installation #

dart pub add atheon_codex

Usage #

import 'package:atheon_codex/codex.dart';

Future<void> main() async {
  final client = AtheonCodexClient(
    AtheonCodexClientOptions(apiKey: 'YOUR_API_KEY'),
  );

  try {
    final payload = AtheonUnitFetchAndIntegrateModel(
      query: "User prompt here",
      baseContent: "Generated LLM response",
      includeAdUnits: true,
    );

    final response = await client.fetchAndIntegrateAtheonUnit(payload);
    print("Integrated Content: ${response['response_data']['integrated_content']}");
  } finally {
    client.close();
  }
}

Note: For Flutter applications requiring UI components and automated tracking, use atheon_ui.

1
likes
115
points
141
downloads

Documentation

API reference

Publisher

verified publisheratheon.ad

Weekly Downloads

Dart Package for Atheon

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

http

More

Packages that depend on atheon_codex