GraphQL and REST APIs: An Introduction
GraphQL and REST are popular architectures for building web APIs (Application Programming Interfaces) and share the goal of enabling web-based communication between clients and servers for data access and manipulation. They both leverage common web technologies like HTTP and JSON. Both are generally designed to be stateless to enhance scalability and reliability. Both are supported by mature ecosystems with comprehensive documentation and tooling. The differences lie in how they achieve their goals, primarily in their approach to data fetching, endpoint structure, and the level of flexibility given to clients.
Read more
Crypto Explained: A Beginner's Guide
What is cryptocurrency? What is blockchain technology? How do they work together? These are questions that are becoming more common as the use of digital currency and blockchain technology grows.
Here is a brief overview of these concepts:
Read more
Use Geopandas and Flask to Create Beautiful Maps in Python and Display in HTML
In this tutorial, we will take Alzheimer's fatality data from the data.gov dataset "Weekly Counts of Deaths by State and Select Causes, 2014-2019" and display it on a map of the Continental United States. We will use several libraries including: Flask to create our web application, Pandas to work with the data, Geopandas to work with geospatial data, and Matplotlib to render the map in our web application.
Read more
Using OpenWeather Map API in a Python Flask App
OpenWeather provides weather services through APIs that you can use to display current, future, and historical weather conditions for a given place and time. In this tutorial, we will use their free service and build a simple Python Flask app that uses the OpenWeather One Call API 2.5 and the OpenWeather Geocoding API. Based on user input into a form, we will retrieve current weather data from OpenWeather and display some of that data in a browser.
Read more