From 0bb603d7d56d0e279f7755aaf05c6a6bd37b08d4 Mon Sep 17 00:00:00 2001 From: josemoracard Date: Mon, 8 Apr 2024 15:41:43 +0000 Subject: [PATCH] more informative intro, deleted some folders --- exercises/00-hello-world/README.es.md | 13 ------------- exercises/00-hello-world/README.md | 13 ------------- exercises/00-welcome/README.es.md | 4 +++- exercises/00-welcome/README.md | 4 +++- exercises/01-what-is-a-request/README.es.md | 20 -------------------- 5 files changed, 6 insertions(+), 48 deletions(-) delete mode 100644 exercises/00-hello-world/README.es.md delete mode 100644 exercises/00-hello-world/README.md delete mode 100644 exercises/01-what-is-a-request/README.es.md diff --git a/exercises/00-hello-world/README.es.md b/exercises/00-hello-world/README.es.md deleted file mode 100644 index 30f83f8..0000000 --- a/exercises/00-hello-world/README.es.md +++ /dev/null @@ -1,13 +0,0 @@ -# Python API Requests - -Python Requests es el paquete más popular para consumir API y hacer solicitudes HTTP. - -Aquí aprenderás: - -1. Cómo hacer solicitudes GET. -2. Cómo obtener propiedades de una data e información. -3. Cómo configurar request headers. -4. Cómo configurar request content-type. -5. Cómo hacer solicitudes POST. - -Haga click en el botón `next →` en la esquina superior derecha para continuar. \ No newline at end of file diff --git a/exercises/00-hello-world/README.md b/exercises/00-hello-world/README.md deleted file mode 100644 index 3cb9e7e..0000000 --- a/exercises/00-hello-world/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Python API Requests - -Python Requests is the most popular package for consuming API's and doing HTTP requests. - -Here you will learn: - -1. How to do GET requests. -2. How to fech data properties and information. -3. How to set request headers. -4. How to set request content-type. -5. How to do POST requests. - -Click the `next →` button on the top right to continue. \ No newline at end of file diff --git a/exercises/00-welcome/README.es.md b/exercises/00-welcome/README.es.md index 7f36107..51c6c3d 100644 --- a/exercises/00-welcome/README.es.md +++ b/exercises/00-welcome/README.es.md @@ -1,6 +1,8 @@ # `00` Welcome to Python API Requests! -Python Requests es el paquete más popular para consumir APIs y hacer solicitudes HTTP. +Python Requests es una herramienta potente y ampliamente utilizada para interactuar con APIs y realizar solicitudes HTTP en aplicaciones Python. Simplifica el proceso de enviar solicitudes HTTP y manejar respuestas, convirtiéndose en una herramienta favorita entre los desarrolladores para integrarse con servicios web y obtener datos de APIs. + +Con Python Requests, puedes hacer fácilmente solicitudes GET, POST, PUT, DELETE para comunicarte con servidores web y obtener datos. Admite el manejo de autenticación, encabezados, cookies y sesiones, permitiendo una integración sin problemas con diversos servicios web. Aquí aprenderás: diff --git a/exercises/00-welcome/README.md b/exercises/00-welcome/README.md index c7d23c3..14b765e 100644 --- a/exercises/00-welcome/README.md +++ b/exercises/00-welcome/README.md @@ -1,6 +1,8 @@ # `00` Welcome to Python API Requests! -Python Requests is the most popular package for consuming APIs and doing HTTP requests. +Python Requests is a powerful and widely-used package for interacting with APIs and performing HTTP requests in Python applications. It simplifies the process of sending HTTP requests and handling responses, making it a favorite tool among developers for integrating with web services and fetching data from APIs. + +With Python Requests, you can easily make GET, POST, PUT, DELETE, to communicate with web servers and retrieve data. It supports handling authentication, headers, cookies, and sessions, allowing for seamless integration with various web services. Here you will learn: diff --git a/exercises/01-what-is-a-request/README.es.md b/exercises/01-what-is-a-request/README.es.md deleted file mode 100644 index e959289..0000000 --- a/exercises/01-what-is-a-request/README.es.md +++ /dev/null @@ -1,20 +0,0 @@ -# 01 Creando una solicitud (request) - -Python tiene un [paquete de solicitud (requests package)](https://requests.readthedocs.io/en/master/) eso permite a los desarrolladores crear solicitudes HTTP con bastante facilidad. - -Así es como en Python hacemos una solicitud HTTP GET: - -```python -response = requests.get('') -print(response.status_code) -``` - -# 📝 Instrucciones - -Cambie la variable URL para que solicite: - -```bash -https://assets.breatheco.de/apis/fake/sample/hello.php -``` - -Nota: La consola debe imprimir un código de estado 200. \ No newline at end of file