One page by the folio number written on it
curl --request GET \
--url https://venivididavinci.com/api/v1/folios/{slug}/f/{label} \
--header 'X-API-Key: <api-key>'import requests
url = "https://venivididavinci.com/api/v1/folios/{slug}/f/{label}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://venivididavinci.com/api/v1/folios/{slug}/f/{label}', 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://venivididavinci.com/api/v1/folios/{slug}/f/{label}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://venivididavinci.com/api/v1/folios/{slug}/f/{label}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://venivididavinci.com/api/v1/folios/{slug}/f/{label}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://venivididavinci.com/api/v1/folios/{slug}/f/{label}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"folio": {
"slug": "ambrosiana-drawings",
"index": 123,
"folios": [
"<string>"
],
"image": {
"thumbnail": "<string>",
"medium": "<string>",
"highRes": "https://codex.venivididavinci.com/codices/codex-arundel/highres/001_ff.-14v-1r.jpg"
},
"transcriptions": [
{
"folio": "<string>",
"hasText": true,
"texts": [
{
"title": "<string>",
"text": "<string>"
}
]
}
],
"enrichment": {
"title": "<string>",
"subjects": [
"geometry"
],
"summary": "<string>",
"kind": "leaf",
"source": "transcribed",
"items": [
{
"subject": "geometry",
"heading": "The balance a b c and the seat of equality",
"excerpt": "<string>",
"evidence": "text:2",
"region": "balance diagrams, upper right"
}
],
"english": [
{
"order": 123,
"textEN": "<string>",
"titleEN": "<string>"
}
],
"subtitle": "<string>"
},
"url": "<string>",
"attribution": "Reader's Edition — venivididavinci.com/codex/codex-flight-of-birds/6",
"label": "f. 3r",
"kind": "leaf"
}
}{
"ok": false,
"error": {
"code": "not_found",
"message": "<string>",
"hint": "<string>"
},
"candidates": [
{
"slug": "ambrosiana-drawings",
"index": 123,
"title": "Mechanical Science, Balances, and the Centre of Gravity",
"subjects": [
"geometry"
],
"url": "<string>",
"label": "<string>",
"kind": "leaf",
"thumbnail": "<string>"
}
]
}{
"error": {
"code": "not_found",
"message": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "Anonymous limit is 60 requests/hour. Get a free key at https://venivididavinci.com/developers and pass it as X-API-Key."
}
}Folios
One page by the folio number written on it
The page that carries a folio label — 266v, 0266 v, 266 recto, 12r bis — in a collection named by its slug or any of its names (ca, arundel, ms f). Returns the same record as GET /folios/{slug}/{index}, wrapped in { ok, folio }.
GET
/
folios
/
{slug}
/
f
/
{label}
One page by the folio number written on it
curl --request GET \
--url https://venivididavinci.com/api/v1/folios/{slug}/f/{label} \
--header 'X-API-Key: <api-key>'import requests
url = "https://venivididavinci.com/api/v1/folios/{slug}/f/{label}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://venivididavinci.com/api/v1/folios/{slug}/f/{label}', 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://venivididavinci.com/api/v1/folios/{slug}/f/{label}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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://venivididavinci.com/api/v1/folios/{slug}/f/{label}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://venivididavinci.com/api/v1/folios/{slug}/f/{label}")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://venivididavinci.com/api/v1/folios/{slug}/f/{label}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"folio": {
"slug": "ambrosiana-drawings",
"index": 123,
"folios": [
"<string>"
],
"image": {
"thumbnail": "<string>",
"medium": "<string>",
"highRes": "https://codex.venivididavinci.com/codices/codex-arundel/highres/001_ff.-14v-1r.jpg"
},
"transcriptions": [
{
"folio": "<string>",
"hasText": true,
"texts": [
{
"title": "<string>",
"text": "<string>"
}
]
}
],
"enrichment": {
"title": "<string>",
"subjects": [
"geometry"
],
"summary": "<string>",
"kind": "leaf",
"source": "transcribed",
"items": [
{
"subject": "geometry",
"heading": "The balance a b c and the seat of equality",
"excerpt": "<string>",
"evidence": "text:2",
"region": "balance diagrams, upper right"
}
],
"english": [
{
"order": 123,
"textEN": "<string>",
"titleEN": "<string>"
}
],
"subtitle": "<string>"
},
"url": "<string>",
"attribution": "Reader's Edition — venivididavinci.com/codex/codex-flight-of-birds/6",
"label": "f. 3r",
"kind": "leaf"
}
}{
"ok": false,
"error": {
"code": "not_found",
"message": "<string>",
"hint": "<string>"
},
"candidates": [
{
"slug": "ambrosiana-drawings",
"index": 123,
"title": "Mechanical Science, Balances, and the Centre of Gravity",
"subjects": [
"geometry"
],
"url": "<string>",
"label": "<string>",
"kind": "leaf",
"thumbnail": "<string>"
}
]
}{
"error": {
"code": "not_found",
"message": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "Anonymous limit is 60 requests/hour. Get a free key at https://venivididavinci.com/developers and pass it as X-API-Key."
}
}Authorizations
Optional — raises your rate limit. Patron keys get the highest tier.