8000 Update sample · jspython-dev/jspython-examples@95e67f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 95e67f3

Browse files
committed
Update sample
1 parent 4ee9768 commit 95e67f3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

axios-test.jspy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import axios
2-
res = axios.get("https://restcountries.eu/rest/v2")
2+
3+
res = axios.get("https://restcountries.com/v3.1/region/eu")
34
print(res.data.length)
4-
print(res.data[236].name)
5+
print(res.data[0].name)

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"dependencies": {
10-
"axios": "^0.19.0",
11-
"datapipe-js": "0.0.1",
12-
"papaparse": "^5.1.0"
10+
"axios": "^0.26.1",
11+
"datapipe-js": "0.3.20",
12+
"jspython-cli": "file:../../JSPython-cli/jspython-cli-2.1.7.tgz",
13+
"papaparse": "^5.3.2"
1314
},
1415
"author": "",
1516
"license": "MIT"

0 commit comments

Comments
 (0)
0