Flask-RESTful: Getting Started with Flask-RESTful to Build APIs

Flask-RESTful 1.1.1    |    Beginner
  • 11 videos | 1h 19m 20s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 10 users Rating 4.6 of 10 users (10)
Flask-RESTful is the extension for Flask that contains functions and support you'll use to develop REST APIs. Python developers will enjoy the ease and speed of a minimal set up before moving on to explore Flask-RESTful's built-in template library. Using templates as a jumping off point during development is a great way to quickly and easily develop REST APIs, and it has the additional benefit of guiding you to consistently follow API development best practices. In this course, you'll learn to set up your environment to build a RESTful API server. You'll install the Flask-RESTful libraries on Windows and macOS and you'll also work with the CURL command-line utility to make API calls. Next you'll implement a simple API server that responds to HTTP GET requests and then how to configure responses for GET, POST, PUT, and DELETE requests. Moving on, you'll configure your API server to accept parameters as part of the URL path and send data to your server using the request body in POST requests. Upon finishing this course, you'll be able to configure a simple API server using Flask-RESTful to respond to your HTTP requests.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Install flask-restful and set up a virtual environment on macos
    Install the curl utility and flask-restful python library and set up a virtual environment on a windows machine
    Create a basic rest api to return json data
    Implement methods to respond to get, post, put, and delete http requests using the flask-restful library
    Configure and register routes with url path parameters using the flask-restful library
  • Demonstrate how url path parameters work using the flask-restful library
    Configure endpoints to facilitate using the same resource for multiple application routes
    Send data in a post request using the request body
    Access data in the request body of an api server
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 1m 54s
    Use this course to develop and refine fundamental skills needed to build and configure a simple virtual API server using Flask-RESTful. You are taught how to build a virtenv server with Flask-RESTful libraries, implement a simple API server that responds to http GET request, and structure specifications for data that is sent to your server. FREE ACCESS
  • 7m 5s
    Learn how to set up a virtual Flask-RESTful Python library on a macOS. A virtualenv can be thought of as a sandbox container for all dependencies and libraries that you need for each project. This video explores key tasks such as using Python to import libraries, viewing available modules through DIR, and accessing the CURL command-line utility. FREE ACCESS
  • Locked
    3.  Installing Flask-RESTful on Windows
    7m 22s
    Learn how to set up a virtual Flask-RESTful Python library in a Windows environment. Use the virtualenv as a sandbox container for all dependencies and libraries that you need for each project. This video explores key tasks such as using Python to import libraries, viewing available modules through DIR, and steps you need to take to download and install the CURL command-line utility. FREE ACCESS
  • Locked
    4.  Creating REST APIs with Flask-RESTful
    11m 6s
    Discover how to create basic code for your simple API by inputting the Flask module and application into a new file. Writing a successful GET request using your API server is an essential step to returning a JSON message or object. FREE ACCESS
  • Locked
    5.  Responding to GET, POST, PUT, and DELETE Requests
    10m 43s
    Upgrade your skills by learning how to change the configuration of your API to respond to different requests. During this video you'll explore the benefits of changing the route of your GET request, updating your route using forward slash (/), and getting a JSON response from your new updated route. FREE ACCESS
  • Locked
    6.  Passing API Arguments Using the URL Path
    9m 46s
    Understand how and why to send data from the client to the server and configure a GET Request to get a different response. To successfully configure and register routes with URL path parameters using the Flask-RESTful library, construct APIs that accept input arguments in the URL path used to make requests to the server. FREE ACCESS
  • Locked
    7.  Configuring APIs with Multiple URL Path Arguments
    5m 10s
    Watch this video to learn to how URL path parameters work using the Flask-RESTful library. To be successful, you need to know how to configure APIs with multiple URL path arguments and how to configure resources to respond to GET requests that accept multiple input arguments. Explore using Integer and String arguments in CURL to create a GET request and validate the request. FREE ACCESS
  • Locked
    8.  Configuring Resource Endpoints Using Flask-RESTful
    8m 45s
    In this video, you're introduced to how URL path parameters and multiple URL path arguments work. Being adept at tasks such as configuring resources to respond to GET requests to accept multiple input arguments and working with two types of arguments is essential to configuring APIs with multiple path arguments. FREE ACCESS
  • Locked
    9.  Accessing Request Body Form Data with Flask-RESTful
    9m 36s
    This video will teach you how to accept and work with form data using Flask-RESTful. Using the request body, you can send this data to a server using a POST request. FREE ACCESS
  • Locked
    10.  Accessing API Server Form Fields with Flask-RESTful
    5m 43s
    Expand your insights using the request body of an API server to access data. When Form data values are sent to the server, you have the ability to access individual key value pairs inside the form data. FREE ACCESS
  • Locked
    11.  Course Summary
    2m 11s
    This video revisits the highlights of all key learning points you learned throughout this course. You should be comfortable setting up and configuring simple API servers that respond to http GET request with Flask-RESTful libraries and structuring data specifications. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.8 of 42 users Rating 4.8 of 42 users (42)
Rating 4.4 of 13 users Rating 4.4 of 13 users (13)
Rating 4.7 of 201 users Rating 4.7 of 201 users (201)