Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

0x15-api

Project: 0x15. API

Description

This project focuses on understanding and working with APIs (Application Programming Interfaces). APIs allow different software systems to communicate with each other. This project provides hands-on experience with making API requests, handling responses, and working with data formats such as JSON and CSV.

Table of Contents

Resources

Read or watch

Learning Objectives

General

  • Understand what Bash scripting should not be used for
  • Learn what an API is
  • Understand what a REST API is
  • Learn what microservices are
  • Understand the CSV format
  • Understand the JSON format
  • Learn Pythonic package and module name style
  • Learn Pythonic class name style
  • Learn Pythonic variable name style
  • Learn Pythonic function name style
  • Learn Pythonic constant name style
  • Understand the significance of CapWords or CamelCase in Python

Tasks

Task Description File
0. Gather data from an API Write a Python script that gathers data from an API 0-gather_data_from_an_API.py
1. Export to CSV Write a Python script that exports data to a CSV file 1-export_to_CSV.py
2. Export to JSON Write a Python script that exports data to a JSON file 2-export_to_JSON.py
3. Dictionary of list of dictionaries Write a Python script that creates a dictionary of list of dictionaries from the data 3-dictionary_of_list_of_dictionaries.py

Additional Notes

  • Ensure you have the necessary permissions to execute the scripts.
  • Test the scripts in a safe environment to avoid any unintended changes to your system.
  • Refer to the resources provided for a deeper understanding of each concept and its practical applications.
  • Regularly review and update your scripts to maintain compatibility with the latest API changes.