Project done during Full Stack Software Engineering studies at ALX SE Program. It aims to learn about fetch internet resources with the Python package urllib, how to use the Python package requests, and to fetch JSON resources.
Python 3.8.5
- Tested on Ubuntu 20.04 LTS
All the following files are Python scripts:
Filename | Description |
---|---|
0-hbtn_status.py |
Python script that fetches https://alx-intranet.hbtn.io/status |
1-hbtn_header.py |
Python script that sends a request to an URL and displays the value of the X-Request-Id variable found in the header of the response |
2-post_email.py |
Python script that sends a POST request to an URL with an email passed as a parameter, and displays the body of the response |
3-error_code.py |
Python script that takes in a URL, sends a request to the URL and displays the body of the response |
4-hbtn_status.py |
Python script that fetches https://alx-intranet.hbtn.io/status |
5-hbtn_header.py |
Python script that sends a request to an URL and displays the value of the variable X-Request-Id in the response header |
6-post_email.py |
Python script that sends a POST request to ian URL with the email passed as a parameter, and finally displays the body of the response |
7-error_code.py |
Python script that takes in a URL, sends a request to the URL and displays the body of the response |
8-json_api.py |
Python script that takes in a letter and sends a POST request to http://0.0.0.0:5000/search_user with the letter as a parameter |
10-my_github.py |
Python script that takes your GitHub credentials (username and password) and uses the GitHub API to display your id |
100-github_commits.py |
Python script that takes 2 arguments in order to solve a challenge |