@community-sdks/godaddy-js
v1.0.2
Published
Fetch-based JavaScript SDK for the GoDaddy APIs in this repository.
Readme
Unofficial GoDaddy JavaScript SDK
Getting Started
npm install @community-sdks/godaddy-jsimport { Client, Config } from '@community-sdks/godaddy-js';
const client = new Client(new Config({
apiKey: 'your-key',
apiSecret: 'your-secret',
}));Environment Base URLs
Base URLs are configured through Config.
- Sandbox (OTE):
https://api.ote-godaddy.com - Production:
https://api.godaddy.com
By default, services use sandbox/OTE base URLs unless overridden in service definitions.
Use production globally:
const client = new Client(new Config({
apiKey: 'your-key',
apiSecret: 'your-secret',
baseUrl: 'https://api.godaddy.com',
}));Use sandbox explicitly:
const client = new Client(new Config({
apiKey: 'your-key',
apiSecret: 'your-secret',
baseUrl: 'https://api.ote-godaddy.com',
}));Services
- Abuse: Abuse ticket management endpoints for listing, creating, and retrieving abuse reports.
- Aftermarket: Aftermarket listing endpoints for auction listings, expiry listings, and listing removals.
- Agreements: Legal agreement lookup endpoints for required agreement keys.
- Ans: Agent Name Service endpoints for agent registration, resolution, certificates, and events.
- Auctions: Auction bidding endpoints for placing bids on aftermarket listings.
- Certificates: Certificate lifecycle endpoints for ordering, validation, download, reissue, renewal, revocation, and subscription lookups.
- Countries: Country and market metadata endpoints for country and state lookups.
- Domains: Domain management endpoints for availability, purchase, DNS, transfers, forwarding, notifications, and maintenance data.
- Orders: Order retrieval endpoints for listing orders and loading individual order details.
- Parking: Parking analytics endpoints for aggregate and per-domain parking metrics.
- Shoppers: Shopper account endpoints for subaccounts, profile updates, deletion, status, and password changes.
- Subscriptions: Subscription endpoints for listing, product groups, retrieval, cancellation, and updates.
