From bd1e9d9cf2b840b46104db728580da136c8bbd4f Mon Sep 17 00:00:00 2001 From: Elvira Quiroz Date: Tue, 29 Mar 2022 19:39:00 +0000 Subject: [PATCH 1/4] https://github.com/learnpack/learnpack/issues/811 --- .gitignore | 1 + README.es.md | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 11 +++---- 3 files changed, 92 insertions(+), 6 deletions(-) create mode 100644 README.es.md diff --git a/.gitignore b/.gitignore index 8f255a6..d9d6ec8 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ !bc.json !learn.json !README.md +!README.es.md !/exercises !/exercises/* diff --git a/README.es.md b/README.es.md new file mode 100644 index 0000000..7c04a36 --- /dev/null +++ b/README.es.md @@ -0,0 +1,86 @@ + + + + + +
+

🐍 Tutorial y Ejercicios de Python API Requests

+

Por @alesanchezr y otros colaboradores de 4Geeks Academy

+ + + follow on Twitter + +
+ +En esta serie, aprenderás HTTP y cómo usar el package requests de Python para crear solicitudes HTTP GET, POST, PUT, DELETE. + +Todo el tutorial es 👆 interactivo, ✅ calificado automáticamente y con 📹 videos tutoriales. + +

📚 Tabla contenidos:

+ + + + + + + + + + + + +
1. Python para principiantes
2. Practica loops en listas y tuplas
3. Practica funciones
4. Master Python (intermedio)
5. Python API Requests← 🔥 your are here now
6. ¿Qué sigue? Solicita un nuevo tutorial o colabora.
Añadiremos tu perfil a nuestra lista de colaboradores
+ + +Estos Ejercicios son colaborativos, ¡te necesitamos! Si encuentras algún error o falta de ortografía, por favor contribuye y repórtalo. + +## One click installation: + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises.git) + + +### Instalación local: + +1. Instala learnpack, el administrador de paquetes para tutoriales de aprendizaje y el complemento del compilador html para learnpack, asegúrate de tener también node.js 14+: + +``` +$ npm i learnpack -g +$ learnpack plugins:install learnpack-python +``` + +2. Descarga este ejercicio en particular usando learnpack y `cd` para entrar en la carpeta: + +``` +$ learnpack download python-http-requests-api-tutorial-exercises +$ cd python-http-requests-api-tutorial-exercises +``` + +Nota: Una vez que termine de descargar, encontrarás la carpeta "exercises" que contiene todos los ejercicios. + +3. Comienza con los ejercicios ejecutando el siguiente en el mismo nivel que tu archivo learn.json: + +```sh +$ pip install pytest==4.4.2 mock pytest-testdox +$ learnpack start +``` + +Nota: Estos ejercicios tienen calificación automática pero es un tanto rígida, te recomiendo ignorar los tests, considéralos como una recomendación o podrías frustrarte. + +## ¿Cómo están organizados los ejercicios? + +Cada ejercicio es un pequeño proyecto en Python que contiene los siguientes archivos: + +1. **app.py:** representa el archivo de entrada de python que será ejecutado en el computador. +2. **README.md:** contiene las instrucciones del ejercicio. +3. **test.py:** no tienes que abrir este archivo. Contiene los scripts de pruebas del ejercicio. + +## Colaboradores + +Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): + +1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribución: (programador) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 🤓 (build-tutorial) ✅ (documentación) 📖 + +2. [Paolo (plucodev)](https://github.com/plucodev), contribución: (bug reports) 🐛, (programador), (traducción) 🌎 + + +Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas! \ No newline at end of file diff --git a/README.md b/README.md index 283a803..12c952d 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ These exercises were built in collaboration, we need you! If you find any bugs o ## Local Installation -1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 12+: +1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 14+: ``` $ npm i learnpack -g @@ -75,9 +75,8 @@ Each exercise is a small react application containing the following files: Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)): -1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) :computer: (idea) 🤔, (build-tests) :warning:, (pull-request-review) :eyes: (build-tutorial) :white_check_mark: (documentation) :book: -2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) :bug:, contribution: (coder), (translation) :earth_americas: +1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) 💻 (idea) 🤔, (build-tests) ⚠️ , (pull-request-review) 👀 (build-tutorial) ✅ (documentation) 📖 -This project follows the -[all-contributors](https://github.com/kentcdodds/all-contributors) -specification. Contributions of any kind are welcome! +2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) 🐛, contribution: (coder), (translation) 🌎 + +This project follows the[all-contributors](https://github.com/kentcdodds/all-contributors) specification.Contributions of any kind are welcome! From 5ffa2cb5b7ea4d515a89894854a91e4763c1b015 Mon Sep 17 00:00:00 2001 From: Elvira Quiroz Date: Wed, 30 Mar 2022 19:56:15 +0000 Subject: [PATCH 2/4] updated --- README.es.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.es.md b/README.es.md index 7c04a36..7c6b010 100644 --- a/README.es.md +++ b/README.es.md @@ -25,13 +25,12 @@ Todo el tutorial es 👆 interactivo, ✅ calificado automáticamente y con 📹 3. Practica funciones 4. Master Python (intermedio) 5. Python API Requests -← 🔥 your are here now +← 🔥 estás aquí 6. ¿Qué sigue? Solicita un nuevo tutorial o colabora.
Añadiremos tu perfil a nuestra lista de colaboradores - Estos Ejercicios son colaborativos, ¡te necesitamos! Si encuentras algún error o falta de ortografía, por favor contribuye y repórtalo. ## One click installation: From 1d719c80467a0085d455cf9529d024b0ff5db273 Mon Sep 17 00:00:00 2001 From: Tomas Gonzalez <56565994+tommygonzaleza@users.noreply.github.com> Date: Wed, 30 Mar 2022 21:36:14 -0400 Subject: [PATCH 3/4] Update README.es.md --- README.es.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.es.md b/README.es.md index 7c6b010..a6e4305 100644 --- a/README.es.md +++ b/README.es.md @@ -33,7 +33,7 @@ Todo el tutorial es 👆 interactivo, ✅ calificado automáticamente y con 📹 Estos Ejercicios son colaborativos, ¡te necesitamos! Si encuentras algún error o falta de ortografía, por favor contribuye y repórtalo. -## One click installation: +## Ábrelo en Gitpod con un clic (Instalación de un clic): [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises.git) @@ -82,4 +82,4 @@ Gracias a estas personas maravillosas ([emoji key](https://github.com/kentcdodds 2. [Paolo (plucodev)](https://github.com/plucodev), contribución: (bug reports) 🐛, (programador), (traducción) 🌎 -Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas! \ No newline at end of file +Este proyecto sigue la especificación [all-contributors](https://github.com/kentcdodds/all-contributors). ¡Todas las contribuciones son bienvenidas! From 1a1dfa1932d7fbc85bdeb12d6370aa7b35cf4c23 Mon Sep 17 00:00:00 2001 From: Tomas Gonzalez <56565994+tommygonzaleza@users.noreply.github.com> Date: Wed, 30 Mar 2022 21:47:14 -0400 Subject: [PATCH 4/4] Update learn.json --- learn.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/learn.json b/learn.json index a6ecffa..1b71393 100644 --- a/learn.json +++ b/learn.json @@ -1,9 +1,11 @@ { "language": "python3", + "slug": "python-flask-api-tutorial", + "description": "Create a Todo list API Interactively using Python language and the Flask Framework", "repository": "https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises", "config": { "editor": { "version": "1.0.72" } } -} \ No newline at end of file +}