The kit for your own client: brand, fonts, card geometry, palette, attack timing, sounds and character voices.
curl --request GET \
--url https://www.smashandclash.in/api/v1/games/assetsimport requests
url = "https://www.smashandclash.in/api/v1/games/assets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://www.smashandclash.in/api/v1/games/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.smashandclash.in/api/v1/games/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.smashandclash.in/api/v1/games/assets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.smashandclash.in/api/v1/games/assets")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.smashandclash.in/api/v1/games/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"version": 123,
"terms": "<string>",
"brand": {},
"fonts": {},
"card": {},
"colors": {},
"animation": {},
"audio": {}
}clients
The kit for your own client: brand, fonts, card geometry, palette, attack timing, sounds and character voices.
Where every file the game draws and plays lives, and how the game uses it: logos, fonts, the card back and template, the value-badge colours, every frame colour, the attack animation timing, music by state, sound effects, announcer lines, how-to-play narration and each character’s voice lines. The art and audio are free to use in clients built for Smash&Clash (see terms).
GET
/
games
/
assets
The kit for your own client: brand, fonts, card geometry, palette, attack timing, sounds and character voices.
curl --request GET \
--url https://www.smashandclash.in/api/v1/games/assetsimport requests
url = "https://www.smashandclash.in/api/v1/games/assets"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://www.smashandclash.in/api/v1/games/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://www.smashandclash.in/api/v1/games/assets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.smashandclash.in/api/v1/games/assets"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://www.smashandclash.in/api/v1/games/assets")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.smashandclash.in/api/v1/games/assets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"version": 123,
"terms": "<string>",
"brand": {},
"fonts": {},
"card": {},
"colors": {},
"animation": {},
"audio": {}
}Response
200 - application/json
The kit.
The kit: terms, brand, fonts, card (back, template, aspect, face/art sizes, value-badge colours), colors, animation (frames, howTo, timing), audio (music, sfx, announcer, howTo, voices by card id).