Skip to content

fixed text README #21

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 6 commits into from
Apr 10, 2024
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
33 changes: 12 additions & 21 deletions README.es.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,38 @@
<!-- hide -->
# 🐍 Tutorial y Ejercicios de Python API Requests

Por <a href="https://twitter.com/alesanchezr">@alesanchezr</a> y <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises/graphs/contributors">otros contribuidores</a> at <a href="http://4geeksacademy.co/">4Geeks Academy</a>
Por <a href="https://twitter.com/alesanchezr">@alesanchezr</a> y <a href="https://github.com/4GeeksAcademy/python-functions-programming-exercises/graphs/contributors">otros contribuidores</a> de <a href="http://4geeksacademy.co/">4Geeks Academy</a>
<!-- endhide -->

En esta serie, aprenderΓ‘s HTTP y cΓ³mo usar el package requests de Python para crear solicitudes HTTP GET, POST, PUT, DELETE.
En esta serie, aprenderΓ‘s HTTP (*Hypertext Transfer Protocol*) 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.

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

<!-- hide -->

## InstalaciΓ³n en un clic (recomendado)

Puedes empezar estos ejercicios en pocos segundos haciendo clic en: [Abrir en Codespaces](https://codespaces.new/?repo=4GeeksAcademy/python-http-requests-api-tutorial-exercises) (recomendado) o [Abrir en Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises).

> Una vez ya tengas abirto VSCode los ejercicios de LearnPack deberΓ­an empezar automΓ‘ticamente, si esto no sucede puedes intentar empezar los ejercicios escribiendo este comando en tu terminal: `$ learnpack start`
> Una vez ya tengas abierto VSCode los ejercicios de LearnPack deberΓ­an empezar automΓ‘ticamente, si esto no sucede puedes intentar empezar los ejercicios escribiendo este comando en tu terminal: `$ learnpack start`

### InstalaciΓ³n local:

Clona el repositorio en tu ambiente local y sigue los siguientes pasos:

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+:
1. AsegΓΊrate de instalar [LearnPack](https://www.learnpack.co/), node.js versiΓ³n 14+ y Python versiΓ³n 3+. Este es el comando para instalar LearnPack:

```bash
$ npm i learnpack -g
$ learnpack plugins:install learnpack-python
```

2. Descarga este ejercicio en particular usando learnpack y `cd` para entrar en la carpeta:
2. Comienza con los ejercicios ejecutando el siguiente comando al mismo nivel que tu archivo `learn.json`:

```bash
$ 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:

```bash
$ pip install pytest==4.4.2 mock pytest-testdox
$ pip3 install pytest==6.2.5 pytest-testdox mock requests toml
$ learnpack start
```
<!-- endhide -->
Expand All @@ -50,20 +41,20 @@ $ learnpack start

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.
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.

> 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.
> Nota: Estos ejercicios tienen calificaciΓ³n automΓ‘tica. Los tests son muy rΓ­gidos y estrictos, mi recomendaciΓ³n es que no prestes demasiada atenciΓ³n a los tests y los uses solo como una sugerencia o podrΓ­as frustrarte.

## 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) πŸ“–
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) 🌎
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!

Este y otros ejercicios son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) realizado por [Alejandro SΓ‘nchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce mΓ‘s sobre nuestros [Curso de ProgramaciΓ³n](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
Este y otros ejercicios son usados para [aprender a programar](https://4geeksacademy.com/es/aprender-a-programar/aprender-a-programar-desde-cero) por parte de los alumnos de 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/es/inicio) realizado por [Alejandro SΓ‘nchez](https://twitter.com/alesanchezr) y muchos otros contribuyentes. Conoce mΓ‘s sobre nuestros [Cursos de ProgramaciΓ³n](https://4geeksacademy.com/es/curso-de-programacion-desde-cero?lang=es) para convertirte en [Full Stack Developer](https://4geeksacademy.com/es/coding-bootcamps/desarrollador-full-stack/?lang=es), o nuestro [Data Science Bootcamp](https://4geeksacademy.com/es/coding-bootcamps/curso-datascience-machine-learning).
37 changes: 15 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,34 @@ By <a href="https://twitter.com/alesanchezr">@alesanchezr</a> and <a href="https
<!-- endhide -->


In this series you will Learn HTTP and how to use the Python Requests package to create HTTP Requests GET, POST, PUT, DELETE. The entire tutorial is πŸ‘† interactive, βœ… auto-graded and with. πŸ“Ή video tutorials.
In this series you will Learn HTTP (*Hypertext Transfer Protocol*) and how to use the Python **requests package** to create HTTP requests GET, POST, PUT, DELETE.

These exercises were built in collaboration, we need you! If you find any bugs or misspells plese contribute and report them.
The entire tutorial is πŸ‘† interactive, βœ… auto-graded and with πŸ“Ή video tutorials.

These exercises were built in collaboration, we need you! If you find any bugs or misspells, please contribute and report them.

<!-- hide -->
## One click installation (recommended):

You can open these exercises in just a few seconds by clicking: [Open in Codespaces](https://codespaces.new/?repo=4GeeksAcademy/python-http-requests-api-tutorial-exercises) (recommended) or [Open in Gitpod](https://gitpod.io#https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises).

> Once you have VSCode open the LearnPack exercises should start automatically. If exercises don't run automatically you can try typing on your terminal: `$ learnpack start`
> Once you have VSCode open, the LearnPack exercises should start automatically. If the exercises don't run automatically, you can try typing on your terminal: `$ learnpack start`

## Local Installation

Clone the repository in your local environment and follow the steps below:

1. Install learnpack, the package manager for learning tutorials and the html compiler plugin for learnpack, make sure you also have node.js 14+:
1. Make sure you install [LearnPack](https://www.learnpack.co/), node.js version 14+, and Python version 3+. This is the command to install LearnPack:

```
```bash
$ npm i learnpack -g
$ learnpack plugins:install learnpack-python
```

2. Download this particular exercise using learnpack and `cd` into the folder:

```
$ learnpack download python-http-requests-api-tutorial-exercises
$ cd python-http-requests-api-tutorial-exercises
```

> Note: Once you finish downloading, you will find a "exercises" folder that contains all the exercises within.

3. Start the tutorial/exercises by running the following command at the same level were your bc.json file is:
2. Start the tutorial/exercises by running the following command at the same level your `learn.json` file is:

```sh
$ pip install pytest==4.4.2 mock pytest-testdox
```bash
$ pip3 install pytest==6.2.5 pytest-testdox mock requests toml
$ learnpack start
```
<!-- endhide -->
Expand All @@ -54,16 +47,16 @@ Each exercise is a small react application containing the following files:
2. **README.md:** contains exercise instructions.
3. **test.py:** you don't have to open this file, it contains the testing script for the exercise.

> Note: The exercises have automatic grading but its very rigid and string, my recomendation is to ignore the tests and use them only as a recomendation or you can get frustrated.
> Note: The exercises have automatic grading, but it's very rigid and strict, my recommendation is to not take the tests too serious and use them only as a suggestion, or you may get frustrated.

## Contributors

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) πŸ’» (idea) πŸ€”, (build-tests) ⚠️ , (pull-request-review) πŸ‘€ (build-tutorial) βœ… (documentation) πŸ“–
1. [Alejandro Sanchez (alesanchezr)](https://github.com/alesanchezr), contribution: (coder) πŸ’», (idea) πŸ€”, (build-tests) ⚠️, (pull-request-review) πŸ‘€, (build-tutorial) βœ…, (documentation) πŸ“–

2. [Paolo (plucodev)](https://github.com/plucodev), contribution: (bug reports) πŸ›, contribution: (coder), (translation) 🌎
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!
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!

This and many other exercises are built by students as part of the 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) by [Alejandro SΓ‘nchez](https://twitter.com/alesanchezr) and many other contributors. Find out more about our [Full Stack Developer Course](https://4geeksacademy.com/us/coding-bootcamps/part-time-full-stack-developer), and [Data Science Bootcamp](https://4geeksacademy.com/us/coding-bootcamps/datascience-machine-learning).
This and many other exercises are built by students as part of the 4Geeks Academy [Coding Bootcamp](https://4geeksacademy.com/us/coding-bootcamp) by [Alejandro SΓ‘nchez](https://twitter.com/alesanchezr) and many other contributors. Find out more about our [Full Stack Developer Course](https://4geeksacademy.com/us/coding-bootcamps/part-time-full-stack-developer), and [Data Science Bootcamp](https://4geeksacademy.com/us/coding-bootcamps/datascience-machine-learning).