What the Ablight API could learn from the Stormgate API
COMMUNITY | More than 3 weeks ago

What the Ablight API could learn from the Stormgate API

The recently released API documentation for Stormgate, provided by Untapped.gg, offers a straightforward and user-friendly guide for developers eager to integrate with the platform. The documentation shines in its simplicity, presenting the essential HTTP methods, endpoints, and response structures in a clear and accessible manner. For developers who are familiar with API usage, this straightforward approach is likely to be appreciated as it allows them to get up and running quickly.
However, the documentation’s simplicity is also its Achilles’ heel. Critical details, such as field definitions and status codes, are noticeably absent, leaving developers to guess or research what certain terms and error messages mean. This lack of detailed explanations can lead to confusion, particularly for those unfamiliar with Stormgate-specific terminology. Moreover, the use of placeholders like “(See above.)” instead of providing full information in the "PLAYER LOOKUP" section suggests a lack of thoroughness in the documentation's preparation.
Another area where the documentation falls short is in its handling of advanced usage scenarios. While the API is currently unauthenticated and provides basic rate limits, there’s no guidance on what happens if these limits are exceeded or how to handle errors gracefully. The mention of Cross-Origin Resource Sharing (CORS) issues without offering solutions or examples further complicates the developer experience. These omissions could hinder the API’s adoption by more serious developers who require detailed technical guidance.
Despite these shortcomings, the documentation does make an effort to inform users about usage limits and the frequency of data updates, albeit in a somewhat vague manner. The document would benefit greatly from a more structured approach, including a table of contents, better navigation aids, and comprehensive examples that cover edge cases. Overall, while the Stormgate API documentation is a solid starting point, it has significant room for improvement to meet the needs of a broader developer audience.