« Test-Zotero » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (40 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
{{#get_web_data: | {{#get_web_data: | ||
url=https://api.zotero.org/ | url=https://api.zotero.org/groups/4893620/items?itemType=case&sort=dateAdded&direction=desc&limit=6&include=data | ||
|format=json | |format=json | ||
|data=title= | |use jsonpath=true | ||
|data=title=$[*].data.caseName, date=$[*].data.dateDecided, itemType=$[*].data.itemType, court=$[*].data.court, url=$[*].data.url | |||
|default=No data | |default=No data | ||
}} | }} | ||
< | {| class="wikitable sortable" | ||
! Title | |||
! Date | |||
! Item Type | |||
! Court {{#for_external_table:| | |||
{{!}}- | |||
{{!}} [{{{url}}} {{{title}}}] | |||
{{!}} {{{date}}} | |||
{{!}} {{{itemType}}} | |||
{{!}} {{{court}}} | |||
}} | |||
|} | |||
Ici la requête pointe vers le groupe public "Alcolois" de Zotero. On peut obtenir d'autres données. Voir plus bas le contenu brut du json obtenu : | |||
<pre> | |||
{{#get_web_data: | {{#get_web_data: | ||
url=https://api.zotero.org/ | url=https://api.zotero.org/groups/4893620/items?itemType=case&sort=dateAdded&direction=desc&limit=6&include=data | ||
|format=json | |format=json | ||
|data=title= | |use jsonpath=true | ||
|data=title=$[*].data.caseName, date=$[*].data.dateDecided, itemType=$[*].data.itemType, court=$[*].data.court, url=$[*].data.url, docketNumber=$[*].data.docketNumber | |||
|default=No data | |default=No data | ||
}} | }} | ||
{| class="wikitable sortable" | |||
! Title | |||
! Date | |||
! Item Type | |||
! Court {{#for_external_table:| | |||
{{!}}- | |||
{{!}} [{{{url}}} {{{title}}}] | |||
{{!}} {{{date}}} | |||
{{!}} {{{itemType}}} | |||
{{!}} {{{court}}} | |||
{{!}} {{{docketNumber}}} | |||
}} | |||
|} | |||
curl -H "Zotero-API-Version: 3" "https://api.zotero.org/groups/4893620/items?itemType=case&sort=dateAdded&direction=desc&limit=6&include=data" | |||
[ | |||
{ | |||
"key": "DH6KQWMX", | |||
"version": 2, | |||
"library": { | |||
"type": "group", | |||
"id": 4893620, | |||
"name": "Alcolois", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"links": { | |||
"self": { | |||
"href": "https://api.zotero.org/groups/4893620/items/DH6KQWMX", | |||
"type": "application/json" | |||
}, | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois/items/DH6KQWMX", | |||
"type": "text/html" | |||
} | |||
}, | |||
"meta": { | |||
"createdByUser": { | |||
"id": 197447, | |||
"username": "idapi123", | |||
"name": "Marc Lajoie", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/idapi123", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"parsedDate": "2022-08-23", | |||
"numChildren": 0 | |||
}, | |||
"data": { | |||
"key": "DH6KQWMX", | |||
"version": 2, | |||
"itemType": "case", | |||
"caseName": "Moutsios c. R.", | |||
"creators": [], | |||
"abstractNote": "", | |||
"court": "Quebec ›", | |||
"dateDecided": "2022-08-23", | |||
"docketNumber": "500-36-009973-218", | |||
"reporter": "", | |||
"reporterVolume": "", | |||
"firstPage": "", | |||
"history": "", | |||
"language": "", | |||
"shortTitle": "", | |||
"url": "https://canlii.ca/t/jtgzw", | |||
"accessDate": "2022-12-20T19:30:27Z", | |||
"rights": "", | |||
"extra": "", | |||
"tags": [ | |||
{ | |||
"tag": "⚖️" | |||
} | |||
], | |||
"collections": [], | |||
"relations": {}, | |||
"dateAdded": "2025-01-11T18:45:14Z", | |||
"dateModified": "2025-01-11T18:45:14Z" | |||
} | |||
}, | |||
{ | |||
"key": "6QWJTUGV", | |||
"version": 2, | |||
"library": { | |||
"type": "group", | |||
"id": 4893620, | |||
"name": "Alcolois", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"links": { | |||
"self": { | |||
"href": "https://api.zotero.org/groups/4893620/items/6QWJTUGV", | |||
"type": "application/json" | |||
}, | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois/items/6QWJTUGV", | |||
"type": "text/html" | |||
} | |||
}, | |||
"meta": { | |||
"createdByUser": { | |||
"id": 197447, | |||
"username": "idapi123", | |||
"name": "Marc Lajoie", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/idapi123", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"parsedDate": "2022-12-07", | |||
"numChildren": 0 | |||
}, | |||
"data": { | |||
"key": "6QWJTUGV", | |||
"version": 2, | |||
"itemType": "case", | |||
"caseName": "Directeur des poursuites criminelles et pénales c. Dion-Lecompte", | |||
"creators": [], | |||
"abstractNote": "", | |||
"court": "Cour supérieure", | |||
"dateDecided": "2022-12-07", | |||
"docketNumber": "750-36-000527-212", | |||
"reporter": "", | |||
"reporterVolume": "", | |||
"firstPage": "", | |||
"history": "", | |||
"language": "", | |||
"shortTitle": "", | |||
"url": "https://canlii.ca/t/jtfx3", | |||
"accessDate": "2023-06-21T15:34:45Z", | |||
"rights": "", | |||
"extra": "", | |||
"tags": [ | |||
{ | |||
"tag": "article 91(1)(e) de la LIMBA" | |||
}, | |||
{ | |||
"tag": "établissement de son entreprise" | |||
}, | |||
{ | |||
"tag": "⚖️" | |||
} | |||
], | |||
"collections": [], | |||
"relations": {}, | |||
"dateAdded": "2025-01-11T18:45:14Z", | |||
"dateModified": "2025-01-11T18:45:14Z" | |||
} | |||
}, | |||
{ | |||
"key": "9HTBUFMH", | |||
"version": 2, | |||
"library": { | |||
"type": "group", | |||
"id": 4893620, | |||
"name": "Alcolois", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"links": { | |||
"self": { | |||
"href": "https://api.zotero.org/groups/4893620/items/9HTBUFMH", | |||
"type": "application/json" | |||
}, | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois/items/9HTBUFMH", | |||
"type": "text/html" | |||
} | |||
}, | |||
"meta": { | |||
"createdByUser": { | |||
"id": 197447, | |||
"username": "idapi123", | |||
"name": "Marc Lajoie", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/idapi123", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"creatorSummary": "Natalia Ouellette", | |||
"parsedDate": "2023-01-11", | |||
"numChildren": 1 | |||
}, | |||
"data": { | |||
"key": "9HTBUFMH", | |||
"version": 2, | |||
"itemType": "case", | |||
"caseName": "Wen Lu (Dépanneur Randy)", | |||
"creators": [ | |||
{ | |||
"creatorType": "author", | |||
"name": "Natalia Ouellette" | |||
}, | |||
{ | |||
"creatorType": "counsel", | |||
"name": "Cendrina Bilodeau-Savaria" | |||
} | |||
], | |||
"abstractNote": "", | |||
"court": "Régie des alcools des courses et des jeux", | |||
"dateDecided": "2023-01-11", | |||
"docketNumber": "40-0185165-001; \t\t\t 40-0009360", | |||
"reporter": "QCRACJ", | |||
"reporterVolume": "", | |||
"firstPage": "1", | |||
"history": "", | |||
"language": "", | |||
"shortTitle": "", | |||
"url": "https://canlii.ca/t/jtwzj", | |||
"accessDate": "2023-07-06T15:18:45Z", | |||
"rights": "", | |||
"extra": "", | |||
"tags": [ | |||
{ | |||
"tag": "action/vendre-des-boissons-alcooliques-à-un-mineur" | |||
}, | |||
{ | |||
"tag": "contexte/engagement-volontaire" | |||
}, | |||
{ | |||
"tag": "contexte/proposition-conjointe" | |||
}, | |||
{ | |||
"tag": "norme/article-103_1-de-la-LIMBA" | |||
}, | |||
{ | |||
"tag": "permis-licence/permis-d_épicerie" | |||
}, | |||
{ | |||
"tag": "sanction/suspension" | |||
}, | |||
{ | |||
"tag": "⚖️" | |||
} | |||
], | |||
"collections": [], | |||
"relations": {}, | |||
"dateAdded": "2025-01-11T18:45:14Z", | |||
"dateModified": "2025-01-11T18:45:14Z" | |||
} | |||
}, | |||
{ | |||
"key": "8ITGWCI5", | |||
"version": 2, | |||
"library": { | |||
"type": "group", | |||
"id": 4893620, | |||
"name": "Alcolois", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"links": { | |||
"self": { | |||
"href": "https://api.zotero.org/groups/4893620/items/8ITGWCI5", | |||
"type": "application/json" | |||
}, | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois/items/8ITGWCI5", | |||
"type": "text/html" | |||
} | |||
}, | |||
"meta": { | |||
"createdByUser": { | |||
"id": 197447, | |||
"username": "idapi123", | |||
"name": "Marc Lajoie", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/idapi123", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"parsedDate": "2023-03-16", | |||
"numChildren": 0 | |||
}, | |||
"data": { | |||
"key": "8ITGWCI5", | |||
"version": 2, | |||
"itemType": "case", | |||
"caseName": "Dion-Lecompte c. Directeur des poursuites criminelles et pénales", | |||
"creators": [], | |||
"abstractNote": "", | |||
"court": "Cour d'appel du Québec", | |||
"dateDecided": "2023-03-16", | |||
"docketNumber": "500-10-007941-238", | |||
"reporter": "", | |||
"reporterVolume": "", | |||
"firstPage": "", | |||
"history": "", | |||
"language": "", | |||
"shortTitle": "", | |||
"url": "https://canlii.ca/t/jw7bs", | |||
"accessDate": "2023-06-21T15:27:20Z", | |||
"rights": "", | |||
"extra": "", | |||
"tags": [ | |||
{ | |||
"tag": "article 91(1)(e) de la LIMBA" | |||
}, | |||
{ | |||
"tag": "établissement de son entreprise" | |||
}, | |||
{ | |||
"tag": "⚖️" | |||
} | |||
], | |||
"collections": [], | |||
"relations": {}, | |||
"dateAdded": "2025-01-11T18:45:14Z", | |||
"dateModified": "2025-01-11T18:45:14Z" | |||
} | |||
}, | |||
{ | |||
"key": "KFWM88ZS", | |||
"version": 2, | |||
"library": { | |||
"type": "group", | |||
"id": 4893620, | |||
"name": "Alcolois", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"links": { | |||
"self": { | |||
"href": "https://api.zotero.org/groups/4893620/items/KFWM88ZS", | |||
"type": "application/json" | |||
}, | |||
"alternate": { | |||
"href": "https://www.zotero.org/groups/alcolois/items/KFWM88ZS", | |||
"type": "text/html" | |||
} | |||
}, | |||
"meta": { | |||
"createdByUser": { | |||
"id": 197447, | |||
"username": "idapi123", | |||
"name": "Marc Lajoie", | |||
"links": { | |||
"alternate": { | |||
"href": "https://www.zotero.org/idapi123", | |||
"type": "text/html" | |||
} | |||
} | |||
}, | |||
"parsedDate": "2023-06-12", | |||
"numChildren": 1 | |||
}, | |||
"data": { | |||
"key": "KFWM88ZS", | |||
"version": 2, | |||
"itemType": "case", | |||
"caseName": "Association des procureurs aux poursuites criminelles et pénales c. Procureur général du Québec", | |||
"creators": [], | |||
"abstractNote": "", | |||
"court": "Cour d'appel du Québec", | |||
"dateDecided": "2023-06-12", | |||
"docketNumber": "500-09-029968-229", | |||
"reporter": "", | |||
"reporterVolume": "", | |||
"firstPage": "", | |||
"history": "", | |||
"language": "", | |||
"shortTitle": "", | |||
"url": "https://canlii.ca/t/jxmhs", | |||
"accessDate": "2023-06-16T17:02:55Z", | |||
"rights": "", | |||
"extra": "", | |||
"tags": [ | |||
{ | |||
"tag": "⚖️" | |||
} | |||
], | |||
"collections": [], | |||
"relations": {}, | |||
"dateAdded": "2025-01-11T18:45:14Z", | |||
"dateModified": "2025-01-11T18:45:14Z" | |||
} | |||
} | |||
]% | |||
</pre> | |||
[[Catégorie:Test]] | |||