|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/api-developer-pythondjango-restflaskpostgresqlpostman/
课程评论:没有评论
课程名称:API开发者(Python/Django Rest/Flask/PostgreSQL/Postman) 课程概述: 本课程重点介绍API(应用程序接口)的定义和协议,这些元素用于构建和集成应用程序软件。API被视为信息提供者与信息用户之间的契约,规定了用户(调用者)所需内容和生产者(响应者)所需内容的特点。通过API,用户可以与计算机或系统进行交互,以获取信息或执行功能,使得系统能够理解并满足用户的请求。 REST API(即符合REST架构风格的应用程序编程接口)允许与Restful网络服务进行交互,REST代表表现状态转移,是由计算机科学家Roy Fielding创建的。API开发者可以以多种方式实现REST,客户端请求通过RESTful API发送请求时,会将资源状态的表示形式传输给请求者。该信息一般通过HTTP以JSON、HTML等多种格式进行传输,其中JSON因其语言无关性和易于人机阅读而最为流行。 课程中还将探讨Python编程语言及其在网站和软件构建、任务自动化及数据分析方面的应用。Python作为一门通用编程语言,以其广泛的应用范围和易于上手的特性,成为当今使用最广泛的编程语言之一。它支持谐音网站开发,快速构建安全且可维护的网站。 Django框架是一个高级Python网络框架,专注于快速开发,并处理许多繁琐的Web开发任务,让开发者能够集中精力编写应用。Flask则是一个轻量级的Python微框架,因其无需特定工具或库而被称为微框架。 此外,PostgreSQL是一个强大的开源对象-关系型数据库系统,结合了许多扩展的SQL语言特性,Postman是用于API测试的应用程序,提供图形用户界面来测试HTTP请求,并通过不同类型的响应进行验证。 通过本课程,学习者将掌握API开发的核心概念、Python及其框架的应用,以及使用Postman进行API测试的技能,为将来的开发工作打下坚实的基础。
An API is a set of definitions and protocols for building and integrating application software. It's sometimes referred to as a contract between an information provider and an information user-establishing the content required from the consumer (the call) and the content required by the producer (the response). For example, the API design for a weather service could specify that the user supply a zip code and that the producer reply with a 2-part answer, the first being the high temperature, and the second being the low. In other words, if you want to interact with a computer or system to retrieve information or perform a function, an API helps you communicate what you want to that system so it can understand and fulfill the request. You can think of an API as a mediator between the users or clients and the resources or web services they want to get. It's also a way for an organization to share resources and information while maintaining security, control, and authentication-determining who gets access to what. Another advantage of an API is that you don't have to know the specifics of caching-how your resource is retrieved or where it comes from.A REST API (also known as Restful API) is an application programming interface (API or web API) that conforms to the constraints of REST architectural style and allows for interaction with Restful web services. REST stands for representational state transfer and was created by computer scientist Roy Fielding.REST is a set of architectural constraints, not a protocol or a standard. API developers can implement REST in a variety of ways.When a client request is made via a Restful API, it transfers a representation of the state of the resource to the requester or endpoint. This information, or representation, is delivered in one of several formats via HTTP: JSON (JavaScript Object Notation), HTML, XLT, Python, PHP, or plain text. JSON is the most generally popular file format to use because, despite its name, it's language-agnostic, as well as readable by both humans and machines. Python is a computer programming language often used to build websites and software, automate tasks, and conduct data analysis. Python is a general purpose language, meaning it can be used to create a variety of different programs and isn't specialized for any specific problems. This versatility, along with its beginner-friendliness, has made it one of the most-used programming languages today.Python, one of the most popular programming languages in the world, has created everything from Netflix's recommendation algorithm to the software that controls self-driving cars. Python is a general-purpose language, which means it's designed to be used in a range of applications, including data science, software and web development, automation, and generally getting stuff done.Django is a high-level Python web framework that enables rapid development of secure and maintainable websites. Built by experienced developers, Django takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It is free and open source, has a thriving and active community, great documentation, and many options for free and paid-for support. Flask is a micro web framework written in Python. It is classified as a micro framework because it does not require particular tools or libraries.PostgreSQL is a powerful, open source object-relational database system that uses and extends the SQL language combined with many features.Postman is an application used for API testing. It is an HTTP client that tests HTTP requests, utilizing a graphical user interface, through which we obtain different types of responses that need to be subsequently validated.