filmov
tv
Extract data from an API Python , Talend

Показать описание
In this video, we will learn to get data from an API.
It is a fairly simple process:
1. start by importing the code
2. send a get request, get a response object
3. get the data
4. get data in a more readable json format
Also this video is showing "how to get data from rest api in talend"
Code:
------
!pip install requests
import requests
city_name="Specify the city name";
api_key="Specifu the API key you generated";
print(url)
data_extracted
data_extracted["weather"][0]["description"]
data_extracted["main"]["temp_max"]
data_extracted["main"]["temp_min"]
Learn Complete Machine Learning & Data Science using MATLAB:
Learn Digital Signal Processing using MATLAB:
Learn Complete Image Processing & Computer Vision using MATLAB:
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY YOUTUBE CHANNEL
It is a fairly simple process:
1. start by importing the code
2. send a get request, get a response object
3. get the data
4. get data in a more readable json format
Also this video is showing "how to get data from rest api in talend"
Code:
------
!pip install requests
import requests
city_name="Specify the city name";
api_key="Specifu the API key you generated";
print(url)
data_extracted
data_extracted["weather"][0]["description"]
data_extracted["main"]["temp_max"]
data_extracted["main"]["temp_min"]
Learn Complete Machine Learning & Data Science using MATLAB:
Learn Digital Signal Processing using MATLAB:
Learn Complete Image Processing & Computer Vision using MATLAB:
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY YOUTUBE CHANNEL