NovaGPI Quick Start Guide¶
Get up and running with NovaGPI in minutes.
Base URL¶
Making Your First Request¶
To search for GIFs, send a GET request to the /search endpoint.
cURL Example¶
JavaScript (Fetch) Example¶
const apiKey = 'YOUR_API_KEY';
async function searchGifs(query) {
const url = `https://apis.novasuite.one/api/gpi/search?q=${encodeURIComponent(query)}`;
try {
const response = await fetch(url, {
method: 'GET',
headers: {
'apikey': apiKey,
'Content-Type': 'application/json'
}
});
if (!response.ok) {
const errorData = await response.json();
throw new Error(errorData.error || `Error: ${response.status}`);
}
const data = await response.json();
console.log('GIFs found:', data.data);
return data;
} catch (error) {
console.error('Search failed:', error);
}
}
searchGifs('excited');
Next Steps¶
Check out the API Reference for a full list of parameters and response structures.