Skip to content

https://github.com/learnpack/learnpack/issues/811 #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
!bc.json
!learn.json
!README.md
!README.es.md

!/exercises
!/exercises/*
Expand Down
85 changes: 85 additions & 0 deletions README.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<table>
<tr>
<td><img src="https://assets.breatheco.de/apis/img/images.php?blob&random&cat=icon&tags=4geeks,32"></td>
<td>
<h1> 🐍 Tutorial y Ejercicios de Python API Requests</h1>
<p>Por <a href="https://twitter.com/alesanchezr">@alesanchezr</a> y <a href="https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises/graphs/contributors">otros colaboradores</a> de <a href="http://4geeksacademy.co/">4Geeks Academy</a></p>
<img src="https://img.shields.io/github/last-commit/4geeksacademy/python-http-requests-api-tutorial-exercises" />
<a href="https://breatheco.de"><img src="https://img.shields.io/badge/certified-BreatheCode-blue" /></a>
<a href="https://twitter.com/alesanchezr"><img src="https://img.shields.io/twitter/follow/alesanchezr?style=social&logo=twitter" alt="follow on Twitter"></a>
<a href="https://gitpod.io#https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises.git"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" /></a>
</td>
</tr>
</table>

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.

<h3>πŸ“š Tabla contenidos:</h3>
<table>
<tr>
<td>1. <a href="https://github.com/4GeeksAcademy/python-beginner-programming-exercises">Python para principiantes</a> </td>
</tr>
<tr color="white"><td>2. <a href="https://github.com/4GeeksAcademy/python-lists-loops-programming-exercises">Practica loops en listas y tuplas</a></td></tr>
<tr><td>3. <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises">Practica funciones</a></td></tr>
<tr><td>4. <a href="https://github.com/4GeeksAcademy/master-python-programming-exercises">Master Python (intermedio)</a></td></tr>
<tr><td>5. <a href="https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises">Python API Requests</a></td>
<td>← πŸ”₯ estΓ‘s aquΓ­</td>
<td><a href="https://gitpod.io#https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises"><img src="https://gitpod.io/button/open-in-gitpod.svg" /></a></td>
</tr>
<tr><td>6. ΒΏQuΓ© sigue? <a href="https://github.com/4GeeksAcademy/About-4Geeks-Academy/issues/new">Solicita un nuevo tutorial</a> o <a href="https://github.com/4GeeksAcademy/About-4Geeks-Academy/labels/help%20wanted">colabora</a>.<br /> AΓ±adiremos tu perfil a nuestra lista de colaboradores</td></tr>
</table>

Estos Ejercicios son colaborativos, Β‘te necesitamos! Si encuentras algΓΊn error o falta de ortografΓ­a, por favor contribuye y repΓ³rtalo.

## Á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)


### 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!
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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!
4 changes: 3 additions & 1 deletion learn.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}