-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexpos.js
28 lines (21 loc) · 933 Bytes
/
expos.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
async function fetchy(url){
let raw = await fetch(url);
let data = await raw.json();
return data;
}
const gallery = await fetchy('https://cors-anywhere.herokuapp.com/ctrl-alt-tec.herokuapp.com/Insert Fetch Url Here')
FETCH URL NEEDED
//properties Data type Desc.
//artist String[] Nombre de artista(s)
//artMedium String[] Material utilizado (óleo, acuarela, acrílico)
//artForm Enum Tipo de obra de arte. Los tipos deberán definirse por FIgura
//dimensions [ float, float ] Array con el tamaño en cm
//abstract Text Descripción del trabajo
//dateCreated Date Fecha de creación
//dateModified Date (Opcional) Fecha de modificación
//datePublished Date Fecha en que se subió a la plataforma
//resource String (url) Dirección URL que contiene el recurso
//feedback Feedback[] Array con de Objetos Feedback con calificación según criterios, comentarios, juez, etc.
//tags String[] Array con las etiquetas
*/