cURL
curl --request GET \
--url 'https://api.bannerify.co/v1/info?apiKey='import requests
url = "https://api.bannerify.co/v1/info?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bannerify.co/v1/info?apiKey=', 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://api.bannerify.co/v1/info?apiKey=",
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://api.bannerify.co/v1/info?apiKey="
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://api.bannerify.co/v1/info?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bannerify.co/v1/info?apiKey=")
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{
"id": "<string>",
"name": "<string>",
"createdAt": "<string>"
}{
"error": {
"code": "BAD_REQUEST",
"docs": "https://bannerify.co/docs/api-reference/errors/code/BAD_REQUEST",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "UNAUTHORIZED",
"docs": "https://bannerify.co/docs/api-reference/errors/code/UNAUTHORIZED",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "FORBIDDEN",
"docs": "https://bannerify.co/docs/api-reference/errors/code/FORBIDDEN",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "NOT_FOUND",
"docs": "https://bannerify.co/docs/api-reference/errors/code/NOT_FOUND",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "CONFLICT",
"docs": "https://bannerify.co/docs/api-reference/errors/code/CONFLICT",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"docs": "https://bannerify.co/docs/api-reference/errors/code/TOO_MANY_REQUESTS",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "INTERNAL_SERVER_ERROR",
"docs": "https://bannerify.co/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR",
"message": "<string>",
"requestId": "req:1234"
}
}API Documentation
Info
Get project info
GET
/
v1
/
info
cURL
curl --request GET \
--url 'https://api.bannerify.co/v1/info?apiKey='import requests
url = "https://api.bannerify.co/v1/info?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bannerify.co/v1/info?apiKey=', 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://api.bannerify.co/v1/info?apiKey=",
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://api.bannerify.co/v1/info?apiKey="
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://api.bannerify.co/v1/info?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bannerify.co/v1/info?apiKey=")
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{
"id": "<string>",
"name": "<string>",
"createdAt": "<string>"
}{
"error": {
"code": "BAD_REQUEST",
"docs": "https://bannerify.co/docs/api-reference/errors/code/BAD_REQUEST",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "UNAUTHORIZED",
"docs": "https://bannerify.co/docs/api-reference/errors/code/UNAUTHORIZED",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "FORBIDDEN",
"docs": "https://bannerify.co/docs/api-reference/errors/code/FORBIDDEN",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "NOT_FOUND",
"docs": "https://bannerify.co/docs/api-reference/errors/code/NOT_FOUND",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "CONFLICT",
"docs": "https://bannerify.co/docs/api-reference/errors/code/CONFLICT",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"docs": "https://bannerify.co/docs/api-reference/errors/code/TOO_MANY_REQUESTS",
"message": "<string>",
"requestId": "req:1234"
}
}{
"error": {
"code": "INTERNAL_SERVER_ERROR",
"docs": "https://bannerify.co/docs/api-reference/errors/code/INTERNAL_SERVER_ERROR",
"message": "<string>",
"requestId": "req:1234"
}
}The info endpoint returns information about the current project, such as its name, id, and avatar.
⌘I