No authorization is required for ./templates API's.
For detailed usage please see examples for each method.
- Get All Templates
- Get Templates Categories
- Get a Specific Template
- Get Color-Presets of the Template
- Get Pluggable-Screens of the Template
- Get Recommended-Custom-Colors of the Template
- Get Template-Presets of the Template
- Get SVG Content of the Template
- Get Theme of the Template
- Get Transitions of the Template
Retrieves all templates.
<?php
require '../../vendor/autoload.php';
$templates = \Renderforest\ApiClient::getAllTemplates();
Retrieves templates categories.
<?php
require '../../vendor/autoload.php';
$renderforestClient = new \Renderforest\ApiClient(
'your-api-key',
'your-client-id'
);
$templateCategories = $renderforestClient->getTemplatesCategories('ru');
- The supported language codes are: ar, de, en, es, fr, pt, ru, tr.
See get template categories example
Retrieves a specific template.
<?php
require '../../vendor/autoload.php';
$template = \Renderforest\ApiClient::getTemplate(701, 'ru');
- The supported language codes are: ar, de, en, es, fr, pt, ru, tr.
See get specific template example
Retrieves color-presets of the template. You can apply these color presets to your project to give it better and unique look.
<?php
require '../../vendor/autoload.php';
$templateColorPresets = \Renderforest\ApiClient::getTemplateColorPresets(701);
- The number of color-presets is varying from template to template.
See get template color presets example
Retrieves pluggable-screens of the template.
<?php
require '../../vendor/autoload.php';
$templatePluggableScreensGroupCollection = \Renderforest\ApiClient::getTemplatePluggableScreens(701);
- Only lego templates might have a pluggable-screen.
- The number of pluggable-screens is varying from template to template. Pluggable-Screens are grouped by categories.
See get pluggable-screens example
Retrieves recommended-custom-colors of the template. You can apply these recommended custom colors to your project to give it better and unique look.
<?php
require '../../vendor/autoload.php';
$customColors = \Renderforest\ApiClient::getTemplateRecommendedCustomColors(701);
- The number of recommended-custom-colors is varying from template to template.
See get recommended custom colors example
Retrieves template-presets of the template.
<?php
require '../../vendor/autoload.php';
$templatePresets = \Renderforest\ApiClient::getTemplatePresets(701);
-
Only lego templates might have a template-preset.
-
The number of template-presets is varying from template to template. Template-presets are ready-made stories created from this template to fasten your video production.
See get template presets example
Retrieves SVG content of the template.
See get template svg content example
Retrieves theme of the template.
<?php
require '../../vendor/autoload.php';
$templateTheme = \Renderforest\ApiClient::getTemplateTheme(701);
- Both lego & non-lego templates might have a theme.
Retrieves transitions of the template.
<?php
require '../../vendor/autoload.php';
$templateTransitions = \Renderforest\ApiClient::getTemplateTransitions(701);