The project concerns extracting data using API. The python script allows to get the data from an API and creating dataset. The project includes 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.
- script to 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.