Creator on Wheels API

API is connected to the database Code:200OK.

API Overview

The Creator on Wheels API provides developers with a robust collection of assets to enhance your projects. Whether you’re building dynamic web applications, game sites, or digital portfolios, our API allows you to integrate high-quality images, backgrounds, and more with ease.

How to Use the API

Integrating the API into your project is straightforward. Follow these steps:

  1. Accessing the API: Use the base URL: https://creator-api.netlify.app/contents/
  2. Requesting an Asset: Append the asset path to the base URL. For example, to retrieve a specific background image, use:
    https://creator-api.netlify.app/contents/images/backgrounds/bedwars%202.png
  3. Handling Responses: The API returns the asset directly. Depending on the endpoint, you might receive an image or a JSON response with asset details.
  4. Error Handling: Always check the HTTP status codes. A successful request typically returns a status in the 200 range. Handle error codes appropriately to ensure a robust integration.

For further customization, you can integrate these endpoints into your project using AJAX, fetch API, or your preferred HTTP client.

Available Endpoints

  • Images: /images/ – Retrieve various image assets.
  • Backgrounds: /images/backgrounds/ – Access a range of background images.
  • Additional Assets: /fonts/minecraft/music/presets/sfx/videos – Explore other asset categories available through the API.

Usage Examples

Here are some examples to help you get started:

Background Image (Example)

Use the following URL to load a background image for your website:

https://creator-api.netlify.app/contents/images/backgrounds/bedwars%202.png

Example (Others)

Fetch Others Library Assets For Example:

https://creator-api.netlify.app/contents/fonts/your-font-name