API References

This page serves as a central hub for all API documentation across GoEcosystem projects. Each project’s API is documented using a consistent format that includes endpoints, parameters, and examples.

Available API Documentation

Go Web Scraper API

RESTful API for accessing and manipulating scraped data programmatically.

  • Article and product endpoints
  • Pagination and search capabilities
  • Data export functionality
View API Docs

Go Utils HTTP API

API for the HTTP client utilities with advanced features.

  • Request and response handling
  • Middleware support
  • Rate limiting and retry mechanics
View API Docs

Go Utils Database API

API for database interaction utilities.

  • Connection management
  • Query building
  • Migration utilities
View API Docs

API Documentation Standards

All API documentation across GoEcosystem follows consistent standards:

Endpoint Documentation

Each endpoint is documented with:

Error Handling

All APIs use consistent error response formats:

```json { "error": "Error code or type", "message": "Human-readable error message", "details": {} // Optional additional details } ```

Standard HTTP status codes are used across all APIs.

Authentication

When required, APIs use:

Implementing the API Documentation Template

If you’re adding a new project to GoEcosystem, follow these steps to implement our standardized API documentation:

  1. Use the Jekyll API layout (layout: api in front matter)
  2. Create both a Markdown file (/docs/api/index.md) and an HTML fallback file (/docs/api/index.html)
  3. Follow the endpoint documentation structure in our template
  4. Include interactive examples where possible

View API Documentation Template Guide