Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 39a85ec

Browse files
Merge pull request 4GeeksAcademy#23 from Charlytoc/master
Update to the latest LearnPack verisons
2 parents 8b6eb7b + c484f39 commit 39a85ec

File tree

8 files changed

+8
-6
lines changed

8 files changed

+8
-6
lines changed

‎.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"extensions": ["learn-pack.learnpack-vscode"]
2222
}
2323
},
24-
"onCreateCommand": "pip3 install pytest==6.2.5 pytest-testdox mock toml requests && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0"
24+
"onCreateCommand": "pip3 install pytest==6.2.5 pytest-testdox mock toml requests && npm i @learnpack/learnpack@2.1.39 -g && learnpack plugins:install @learnpack/python@1.0.3"
2525

2626
// Features to add to the dev container. More info: https://containers.dev/features.
2727
// "features": {},

‎.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
!/.learn/resets/**
2222
!/.learn/assets
2323
!/.learn/assets/**
24+
25+
__pycache_
File renamed without changes.
File renamed without changes.

‎exercises/01-what-is-a-request/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 02 Creando una solicitud (request)
1+
# 01 Creando una solicitud (request)
22

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

‎exercises/01-what-is-a-request/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 02 Creating a request
1+
# 01 Creating a request
22

33
Python has a [requests package](https://requests.readthedocs.io/en/master/) that allows developers to create HTTP request pretty easily.
44

‎exercises/01-what-is-a-request/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import requests
22

33
url = "https://assets.breatheco.de/apis/fake/sample/404-example.php"
4+
# url = "https://assets.breatheco.de/apis/fake/sample/hello.php"
45
response = requests.get(url)
56

67
print("The response status is: "+str(response.status_code))

‎learn.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"slug": "python-http-requests-api-tutorial-exercises",
88
"description": {
9-
"us": "Learn interactively to consume and create HTTP requests to API's using Python",
9+
"us": "Learn interactively to consume and create HTTP requests to APIs using Python",
1010
"es": "Aprende interactivamente cómo consumir APIs y hacer requests HTTP con Python"
1111
},
1212
"repository": "https://github.com/4GeeksAcademy/python-http-requests-api-tutorial-exercises",
@@ -19,7 +19,6 @@
1919
"autoPlay": true,
2020
"bugsLink": "https://github.com/learnpack/learnpack/issues/new",
2121
"editor": {
22-
"version": "1.0.73"
22+
"version": "3.1.23"
2323
}
24-
2524
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /