Michał Karzyński - Building beautiful RESTful APIs using Flask
Michał Karzyński - Building beautiful RESTful APIs using Flask
[EuroPython 2016]
[22 July 2016]
[Bilbao, Euskadi, Spain]
(https://ep2016.europython.eu//conference/talks/building-beautiful-restful-apis-using-flask-1)
This talk demonstrates a technique for developing RESTful APIs using
Flask and Flask-Restplus. These tools automate common API tasks such
as: validating input, serializing output, routing requests to methods,
and turning Python exceptions into HTTP responses.
The final API comes with a Swagger interactive UI, which documents all
endpoints and makes testing easy. The described tools tools provide
just enough syntactic sugar to make your code readable, scalable and
easy to maintain.
-----
Modern software is powered by APIs. User facing apps may run in the
browser or on mobile platforms, but they almost universally rely on
data stored in the cloud. More often then not apps use a RESTful API
to exchange data with the server.
In my talk I will demonstrate a technique for developing RESTful APIs
using the [Flask][1] micro-framework and [Flask-Restplus][2]. These
powerful tools automate most common tasks associated with API
development: validating input, serializing output, routing requests to
methods, and turning Python exceptions into machine-readable HTTP
responses.
A Flask-Restplus API is fully documented by [Swagger][3] which lists
all defined endpoints, their query parameters and the format of input
and output JSON objects. Swagger generates an [interactive UI][4] for
selecting options and easily testing queries. Flask and Flask-Restplus
provide just enough syntactic sugar to make your code readable,
scalable and easy to maintain.
My presentation will give an overview of the features of Flask and
Flask-Restplus; I will describe how easy it is to get started and
discuss some best practices for building complex APIs using this
approach. I will wrap up by briefly mentioning other components of the
Flask ecosystem, which give this micro-framework power to match fully-
loaded systems such as Django.
[1]: http://flask.pocoo.org/
[2]: http://flask-restplus.readthedocs.org/en/latest/
[3]: http://swagger.io/
[4]: http://petstore.swagger.io/#/pet
Видео Michał Karzyński - Building beautiful RESTful APIs using Flask канала EuroPython Conference
[EuroPython 2016]
[22 July 2016]
[Bilbao, Euskadi, Spain]
(https://ep2016.europython.eu//conference/talks/building-beautiful-restful-apis-using-flask-1)
This talk demonstrates a technique for developing RESTful APIs using
Flask and Flask-Restplus. These tools automate common API tasks such
as: validating input, serializing output, routing requests to methods,
and turning Python exceptions into HTTP responses.
The final API comes with a Swagger interactive UI, which documents all
endpoints and makes testing easy. The described tools tools provide
just enough syntactic sugar to make your code readable, scalable and
easy to maintain.
-----
Modern software is powered by APIs. User facing apps may run in the
browser or on mobile platforms, but they almost universally rely on
data stored in the cloud. More often then not apps use a RESTful API
to exchange data with the server.
In my talk I will demonstrate a technique for developing RESTful APIs
using the [Flask][1] micro-framework and [Flask-Restplus][2]. These
powerful tools automate most common tasks associated with API
development: validating input, serializing output, routing requests to
methods, and turning Python exceptions into machine-readable HTTP
responses.
A Flask-Restplus API is fully documented by [Swagger][3] which lists
all defined endpoints, their query parameters and the format of input
and output JSON objects. Swagger generates an [interactive UI][4] for
selecting options and easily testing queries. Flask and Flask-Restplus
provide just enough syntactic sugar to make your code readable,
scalable and easy to maintain.
My presentation will give an overview of the features of Flask and
Flask-Restplus; I will describe how easy it is to get started and
discuss some best practices for building complex APIs using this
approach. I will wrap up by briefly mentioning other components of the
Flask ecosystem, which give this micro-framework power to match fully-
loaded systems such as Django.
[1]: http://flask.pocoo.org/
[2]: http://flask-restplus.readthedocs.org/en/latest/
[3]: http://swagger.io/
[4]: http://petstore.swagger.io/#/pet
Видео Michał Karzyński - Building beautiful RESTful APIs using Flask канала EuroPython Conference
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Intro to Flask-RESTPlusFastAPI Tutorial | FastAPI vs FlaskREST API With Flask & SQL AlchemyBuilding a REST API using Python and Flask | Flask-RESTfulFastAPI MongoDB REST API in Python | CRUD Operations | Swagger | PyMongoHTMX + Flask: Modern Python Web Apps, Hold the JavaScript - Michael KennedyMinimal Flask REST API in PythonHow Python was Shaped by leaky Internals, Armin Ronacher, Flask frameworkBuilding a RESTful API in Python using Flask-RESTPlus and Swagger - Manikandan RamakrishnanPython REST API Tutorial - Building a Flask REST APIBuild and Deploy a Complete REST API with Python Flask Tutorial.Python Swagger Flask REST API Documentation| Swagger | Flask REST API | SQLAlchemy | MarshmallowCreate A REST API with Python Flask and Flask-RestX -Project TutorialBuilding REST API using Python | REST API Using Flask | Python Training | EdurekaDocumenting Python Flask RESTful API with SwaggerFlask REST API Python series: How to create a swager UI for flask REST API | flask_swagger_uiMiguel Grinberg: Writing RESTful web services with Flask - PyCon 2014GraphQL Schema Design @ Scale (Marc-André Giroux)FastAPI vs. Django vs. Flask