API ClipArt

Ka rapu me te whakataki i te puna CC0 katoa hei JSON - kī wātea, 500 ngā tono i ia rā, kāore he kāri pūtea.

Ko tōtou kī API

Ka whakaingoatia te whakaingoatanga wātea (ruteri anake) hei whiwhi pātū me ngā tono 500/rohe.

Ka whakaingoatia te whakaingoatanga Ka tāurutia te tāurunga

Whakamutunga

GET /api/clipart/search

Ka rapu i te kuputuhi katoa i runga i te katapāka. Parameter: q (tautohetohe), kāwai (slug), whakaaetanga (cc0), pātaka. 30 ngā hua i ia pātaka, i whakaritea e te rongonui.

curl
curl "https://clipart.free/api/clipart/search?q=cat+silhouette&category=animals&key=YOUR_KEY"
Python
import requests

r = requests.get("https://clipart.free/api/clipart/search",
                 params={"q": "cat silhouette", "key": "YOUR_KEY"})
for item in r.json()["results"]:
    print(item["title"], item["svg_url"])
JavaScript
const r = await fetch("https://clipart.free/api/clipart/search?q=cat&key=YOUR_KEY");
const data = await r.json();
console.log(data.results.map(i => i.png_urls["800"]));

GET /api/clipart/<slug>/

Ko te metadata katoa mō tētahi rawa: taitara, tohu, kāwai, ārai + URL, kaihanga, ahu, tae tino kaha, me ngā URL o te pūkete SVG/PNG hāngai.

curl "https://clipart.free/api/clipart/black-cat-silhouette-93012/?key=YOUR_KEY"

Ka whakamahia ngā ture

E hiahiatia ana neke atu i te 500/rohe?

starter
$9.00/mo
5000 tono/rau
Ka kōwhiria
pro
$29.00/mo
25000 tono/rau
Ka kōwhiria
enterprise
$99.00/mo
100000 tono/rau
Ka kōwhiria
Whakawa tēnei pātaka
5.0/5 (0)

He aha te ka taea e tātau te whakarei ake? Ka āwhina tātau ki te whakaoti i ngā raruraru.

Made by @nadermx