In the project I have used the API to get the data and create a dataset. I have created two examples of get the data from an API. The data received was saved in json format and they were exported to a csv file.
- get data by API - example_api.py
- example in Jupyter Notebook file - Create_data_api.ipynb
- data - makeup_data.json, products_final.csv
The project is created with:
- Python 3.6
- libraries: requests, json, pandas.
Running the script:
You can run the script in the terminal:
example_api.py
To run Create_data_api.ipynb file use Jupyter Notebook or Google Colab.