<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
Presentations have been converted from their original format to play in web browsers.
$.get({
url: 'https://api.nasa.gov/planetary/apod',
data: {
API_KEY: 'DEMO_KEY',
date: '2016-06-07'
}
success: function(data) {
$(document.body).prepend('<img src="' + data.hdurl + '">');
}
});
If you plan to do much with the NASA APIs, you’ll need to sign up for your own API_KEY, which is free.
Try to get further with yesterday’s homework.
Talk to the Mutant School API!
Add a button to delete individual mutants from the API.
Update existing mutant records.
Integrate the Mutant API with MegaRoster.
Add Pokémon, Star Wars characters, or something else with an existing API.