Skip to content

How to download JSON & images via Godot plugin

This guide will help you download JSON data and images from Lootfabriq using the Godot plugin.

Requirements

Using asset library

You can use our Godot plugin to simplify dictionary and images downloading directly inside your project.

Use Godot’s AssetLib and search for Lootfabriq export downloader

Godot asset library search

Click on the plugin and download it

Configure

Use Asset configuration window:

  • Choose res:// directory as an installation one. Plugin files will be placed inside res://addons
  • Check Ignore asset root is enabled
  • Select only required files
Godot asset library install

In Godot, locate to Project -> Project Settings -> Plugins, and enable Lootfabriq export downloader

On the left side of the Godot editor, you should see the plugin panel

Godot asset library panel

Using ZIP file

Alternatively you may download plugin ZIP directly from our GitHub

Then using AssetLib -> Import, and select downloaded ZIP file. Follow instructions.

Note about images

Godot plugin and docker image uses identical approach to images version validation. Check out details here.

Finding and using your API key, instance ID

  • API token. The API token is necessary for authentication when accessing data via the API. To find your API token, navigate to the Export settings page on the dashboard. Here, you can copy your token for API access. Use this token to replace YOUR_API_TOKEN in the above commands.
  • Instance ID. The instance ID identifies the specific environment or project you are working in. You can find your instance ID on the dashboard. Use this ID to replace YOUR_INSTANCE_ID in the above commands.