In this Python Programming Tutorial, we will be learning how to grab data from a JSON API, parse out the information we want, and then sort the data using a custom key. The API we will be using is a JSON API for Homebrew Packages and we will be sorting the packages by their popularity. We cover a lot of topics in this tutorial. We will be using the Requests Library, converting to/from JSON, reading and writing to files, writing our own sorting function, and more. Let’s get started…
Python Tutorial: Working with JSON Data using the json Module
In this Python Programming Tutorial, we will be learning how to work with JSON data. We will learn how to load JSON into Python objects from strings and how to convert Python objects into JSON strings. We will also see how to load JSON from a file and save those Python objects back to files. Let’s get started…
ArcGIS API for JavaScript: Starting Templates
This is the second part of a multi-part series on using the ArcGIS API for JavaScript. In this walkthrough, we will take a look at some of the ESRI starting templates for our web map.
Starting templates are very useful because it gives us a solid foundation to begin coding our application. It allows us to jump right in and start adding functionality to our maps instead of spending hours of work creating custom styles, menus, and navigation bars. CSS frameworks, such as Bootstrap, also include best practices for responsive web-design right out of the box. This makes it much easier for us to style our application to look great on desktop, tablet, or mobile devices. Let’s get started:
Resources:
ESRI Github: https://github.com/Esri
Bootstrap Map Repository: https://github.com/Esri/bootstrap-map-js
Quickstart Map Repository: https://github.com/esri/quickstart-map-js
ArcGIS API for JavaScript Part 1: First Web Map
This will be the first part of a multi-part series on how to use the ArcGIS API for JavaScript. In this video, we will start by setting up a basic web map with HTML, JavaScript, and CSS. Unlike the samples on the ArcGIS website, we will separate out our scripts and stylesheets so that our application will be easier to maintain as it grows. Let’s get started: