Last active
May 8, 2018 12:47
-
-
Save martindrapeau/4c0aade4de9d4016b833e1241780e50c to your computer and use it in GitHub Desktop.
Centre Père Marquette - Horaire de la journée
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $amilia = $('<div>'); | |
$('#widget-a72b3d5a-907a-a206-965d-7121034ab07e>.widget-content').append($amilia); | |
$.get('https://www.amilia.com/PublicApi/centre-pere-marquette/fr/Events').done(function(events) { | |
var $ul = $('<ul>'); | |
$amilia.append($ul); | |
for (var i = 0; i < events.length; i++) { | |
var event = events[i]; | |
$ul.append('<li><a href="' + event.url + '">' + event.title + '</a></li>'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sur cette page http://www.centreperemarquette.ca/, ouvrir la console et copier/coller le code afin de voir la tuile AUJOURD'HUI se remplir.
