### Install OpusDNS API Package Source: https://github.com/opusdns/api-spec/blob/main/README.md Installs the OpusDNS API package using npm. This is the primary method to get started with using the API types and constants in your project. ```bash npm install @opusdns/api ``` -------------------------------- ### Initialize OpusDNS API Reference Source: https://github.com/opusdns/api-spec/blob/main/docs/index.html Initializes the OpusDNS API reference interface using Scalar. This function takes a selector for the target element and configuration options such as the API specification URL, and display preferences for models and buttons. ```JavaScript Scalar.createApiReference('#app', { url: 'https://raw.githubusercontent.com/OpusDNS/api-spec/refs/heads/main/src/openapi.yaml', hideModels: true, favicon: "https://d24lr4zqs1tgqh.cloudfront.net/651c70e0-ee3b-4951-8778-ef1c4901b59a.png", hideTestRequestButton: true, hideClientButton: true, withDefaultFonts: false, }) ``` -------------------------------- ### Import OpusDNS API Types and Constants Source: https://github.com/opusdns/api-spec/blob/main/README.md Demonstrates how to import various types, constants, and schemas from the '@opusdns/api' package into a TypeScript project. These imports enable type-safe interactions with the OpusDNS API. ```typescript import { Domain, DOMAIN_AVAILABILITY_STATUS, paths, operations, components, GET_Domains_Request, POST_Domains_Request_Body, ALLOCATION_METHOD_TYPE } from '@opusdns/api'; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.