Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En esta página, se describen las bibliotecas y herramientas y se proporciona información adicional que te ayudará a comenzar a usar Endpoints Frameworks para Python. Consulta Acerca de Endpoints Frameworks para obtener una descripción general de la arquitectura de Endpoints Frameworks.
Bibliotecas y herramientas
Cloud Endpoints Frameworks para el entorno estándar de App Engine proporciona las bibliotecas y herramientas siguientes:
La herramienta de línea de comandos de endpointscfg.py, que usas para generar los elementos siguientes:
Paquetes de bibliotecas cliente y documentos de Discovery, que permiten que las aplicaciones para Android y otros tipos de aplicaciones cliente accedan a tu API
Para usar Endpoints Frameworks, sigue el proceso que se muestra en el instructivo.
Y, finalmente, necesitas saber cómo desarrollar el cliente de tu elección, como los clientes web de JavaScript, o los clientes de dispositivos móviles, como Android.
Proceso de desarrollo
El flujo de trabajo general para desarrollar una aplicación con Endpoints Frameworks es el siguiente:
Primero, escribe el código de tu API, une las clases y los métodos expuestos y crea clases Message como se describe en la sección para crear una API de Endpoints.
Para escribir tu aplicación cliente, usa las bibliotecas cliente cuando realices llamadas a la API.
Cómo comenzar
Para comenzar, sigue el instructivo a fin de configurar, implementar y enviar solicitudes a una API de muestra. Luego, regresa a esta sección a fin de obtener la información que necesitas para configurar, implementar y probar tu propia API.
Migrar de Endpoints versión 1.0
Si ya desarrollaste un backend de API con la versión anterior de Endpoints, sigue la Guía de migración para mover tu aplicación a Endpoints versión 2.0.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eEndpoints Frameworks for Python provides libraries and tools for developing APIs in the App Engine standard environment, including the Frameworks library and the \u003ccode\u003eendpointscfg.py\u003c/code\u003e command-line tool.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eendpointscfg.py\u003c/code\u003e tool generates client library bundles, Discovery documents for client applications, and OpenAPI configuration files for API management.\u003c/p\u003e\n"],["\u003cp\u003eEndpoints Frameworks supports only Python 2.7.x and utilizes App Engine services such as Datastore, Cloud Storage, and Task Queues, allowing developers to focus on API development.\u003c/p\u003e\n"],["\u003cp\u003eThe Endpoints API development workflow includes writing API code, creating a web server, generating and deploying the OpenAPI configuration file, testing and deploying the API, generating client libraries, and developing client applications.\u003c/p\u003e\n"],["\u003cp\u003eTo get started with Endpoints Frameworks or migrate from a previous version, developers are directed to follow the provided tutorial and migration guide respectively.\u003c/p\u003e\n"]]],[],null,["# About Cloud Endpoints Frameworks for Python\n\nThis page describes the libraries and tools and provides other information to\nhelp you get started using Endpoints Frameworks for Python. See\n[About Endpoints Frameworks](/endpoints/docs/frameworks/about-cloud-endpoints-frameworks)\nfor an architectural overview of Endpoints Frameworks.\n\nLibraries and tools\n-------------------\n\nCloud Endpoints Frameworks for the App Engine standard environment\nprovides the following libraries and tools:\n\n\n- The [Frameworks library](/endpoints/docs/frameworks/python/get-started-frameworks-python#installing_the_library).\n- The [`endpointscfg.py`](/endpoints/docs/frameworks/python/endpoints_tool) command-line tool, which you use to generate the following:\n - Client library bundles and [Discovery documents](https://developers.google.com/discovery/v1/reference/apis), which allow Android apps and other types of client applications to access your API.\n - [OpenAPI configuration files](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md), which you use if you want [API management](/endpoints/docs/frameworks/python/adding-api-management) functionality such as monitoring, logging, and API key validation.\n\n| **Note:** Because the API backend is an App Engine application, developers can use services and features available in the App Engine standard environment, such as [Datastore](/appengine/docs/python/datastore), [Cloud Storage](https://cloud.google.com/storage/docs/overview) , [Mail](/appengine/docs/python/mail) , [Url Fetch](/appengine/docs/python/urlfetch) , [Task queues](/appengine/docs/python/taskqueue) , and so forth. And finally, by using App Engine for the backend, developers are freed from system admin work, load balancing, scaling, and server maintenance.\n\nRequirements\n------------\n\n| **Important:** Endpoints Frameworks supports only Python 2.7.x. It doesn't support Python 3.x.\n\nTo use Endpoints Frameworks, follow the process shown in the\n[Tutorial](/endpoints/docs/frameworks/python/get-started-frameworks-python).\n\nAnd finally, you need to know how to develop the client of your choice, such as\nJavaScript web clients, or mobile clients, such as Android.\n| **Note:** You cannot call a Cloud Endpoints API directly from a [push task queue](/appengine/docs/standard/python/taskqueue#push_queues) or a [cron job](/appengine/docs/standard/python/config/cron#Python_calling_google_cloud_endpoints).\n\nDevelopment process\n-------------------\n\nThe general workflow for developing an application using\nEndpoints Frameworks is:\n\n1. Write your API code first, wrapping the classes and any exposed methods, and creating `Message` classes as described in [Create an Endpoints API](/endpoints/docs/frameworks/python/create_api).\n2. [Create a web server](/endpoints/docs/frameworks/python/api_server) to serve your API.\n3. Generate the OpenAPI configuration file and deploy it as described in the [Tutorial](/endpoints/docs/frameworks/python/get-started-frameworks-python).\n4. Optionally, [test your API locally](/endpoints/docs/frameworks/python/test-deploy#testing_an_api_locally).\n5. [Deploy the API](/endpoints/docs/frameworks/python/test-deploy).\n6. [Generate client libraries](/endpoints/docs/frameworks/python/gen_clients).\n7. Write your client application by using the client libraries when making calls to the API.\n\nGetting started\n---------------\n\nTo get started, follow the\n\n[Tutorial](/endpoints/docs/frameworks/python/get-started-frameworks-python)\n\n\nto configure, deploy, and send requests to a sample API. Then come back to this\nsection for the information you need to configure, deploy, and test your own\nAPI.\n\nMigrating from Endpoints version 1.0\n------------------------------------\n\nIf you've already developed an API backend using the previous version of\nEndpoints, follow the\n\n[Migration guide](/endpoints/docs/frameworks/python/migrating)\n\nto move your app to Endpoints version 2.0."]]