Тёмный

Fetching Data From an API | Day 17 | 100 Days of Machine Learning 

CampusX
Подписаться 213 тыс.
Просмотров 91 тыс.
50% 1

Getting complete and high-performance data is not always the case in Machine Learning. While working on any real-world problem statement or trying to build any sort of project as Machine Learning Practioner you need the data. To accomplish the need for data most of the time, it is required to fetch data from API and if the website does not provide API, then the only option left is Web Scraping.
In this tutorial, we are going to learn how you can use API, extract data and save it in the form of a data frame. Fetching Data from an API involves accessing and retrieving structured data from web services, offering a convenient way to obtain real-time or specific information.
Code used: github.com/campusx-official/1...
TMDB API : developers.themoviedb.org/
RapidAPI : rapidapi.com/collection/list-...
JSON Viewer: jsonviewer.stack.hu/
============================
Do you want to learn from me?
Check my affordable mentorship program at : learnwith.campusx.in/s/store
============================
📱 Grow with us:
CampusX' LinkedIn: / campusx-official
CampusX on Instagram for daily tips: / campusx.official
My LinkedIn: / nitish-singh-03412789
Discord: / discord
Instagram: / campusx.official
E-mail us at support@campusx.in
⌚Time Stamps⌚
00:00 - Intro
00:30 - What is an API?
05:45 - Getting TMDB data with API
12:10 - Code Demo
20:33 - Uploading Dataset on Kaggle

Опубликовано:

 

14 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 124   
@lvilligosalvs2708
@lvilligosalvs2708 Год назад
Immensely grateful for what you're providing. Best content bar none!!
@pankajskilldevelopment3950
@pankajskilldevelopment3950 Год назад
It's really required strong Hindi content for data science, thank you brother
@zainabsalahuddin8286
@zainabsalahuddin8286 Год назад
by far the bestttt video i have seen on Web Scraping with the help of API's. You should definitely make a playlist covering Web Scraping.
@vinayshukla3800
@vinayshukla3800 2 года назад
Amazing explanation and thanks sir for giving this type quality content at free of cost.
@TheUmer74
@TheUmer74 2 года назад
Loving your teaching style ...
@mujtwaali
@mujtwaali Год назад
Uplifting session, I have seen this kind of channel very simple and easy explanation Thanx a lot
@santoshkamble9189
@santoshkamble9189 2 года назад
i have reached till day 17, and i really appreciate your work, please keep up the good work. I am an experience DS, but still your videos helped me a lot. Thanks bro.
@sathvikreddy4807
@sathvikreddy4807 11 месяцев назад
so what happened? got a job?
@coding_world_live9
@coding_world_live9 2 года назад
Thanks man , wonderful tutorial
@shaleen2005
@shaleen2005 Год назад
u are doing immensely great work keep it up very nice teaching methodology an ur knowledge is tremendous on the subject
@AbdulHannan-dg6dl
@AbdulHannan-dg6dl Год назад
Ek number bhai ap nay dil jeet liya bht shukriya apka ap bht achy sy sub kch bta rhy ho 😍
@GatikSky
@GatikSky Месяц назад
Its really good and to the point for DA and BI experts
@remosingh5881
@remosingh5881 11 месяцев назад
awesome video! thank you so much for your efforts .
@AbdurRahman-lv9ec
@AbdurRahman-lv9ec 7 месяцев назад
Kudos, Nitish ! Your teaching style is phenomenal, and I've learned so much from your Python and Machine Learning tutorials. As I delve deeper into my passion for data engineering, I can't help but wish for a mentor like you in this field. Your guidance would be invaluable. Any plans to explore data engineering topics?
@SACHINKUMAR-px8kq
@SACHINKUMAR-px8kq Год назад
Thankyou So much Sir for your Contribution 😃
@mohdfaisal4725
@mohdfaisal4725 Год назад
You are a savior!! Thanks a lot!
@depalvveturkar
@depalvveturkar Год назад
Thank you Sir for this, I had never generated any data. Also the information which you gave on boosting Kaggle profile. Thank you
@atifsalam6802
@atifsalam6802 Год назад
Bundle of thanks, you helped us lot, keep it up
@ANUbhav918
@ANUbhav918 Месяц назад
khattam..finnish... such a superb video. hats off to you man !
@DHARMATRIVEDI
@DHARMATRIVEDI Месяц назад
GOLD! Thanks a lot
@narendraparmar1631
@narendraparmar1631 7 месяцев назад
Thanks for sharing this quality content.😀
@PamTiwari
@PamTiwari 2 месяца назад
You are gem Sir!
@syedasad5037
@syedasad5037 Год назад
best machine learning playlist in hindi
@arjunms6035
@arjunms6035 2 года назад
Awesome🔥
@arpitajana947
@arpitajana947 2 года назад
I am a fan of you sir, Thanks for sharing your knowledge ! With every passing video, I m gaining a little more confidence and knowledge
@kalpanakanwaria4197
@kalpanakanwaria4197 Год назад
I am feeling the same very unconfident but after watching his videos gaining little confidence day by day thank you for the amazing and knowledgeable videos.
@stevegabrial1106
@stevegabrial1106 3 года назад
With all due respect, only few people share their knowledge and in those few spread their knowledge on air. U one in those. Plz keep going to make century. Can u plz zoom little jupyter page in next video. Thx
@richaaggarwal07
@richaaggarwal07 2 года назад
thanks a lot sir !😊
@dhananjayyeole7076
@dhananjayyeole7076 Год назад
Thanks Sir!!
@dhruvbhati3628
@dhruvbhati3628 2 года назад
Thank you sir😁🙌🙌
@rohitbedse5134
@rohitbedse5134 4 месяца назад
Respect Man ❤
@grandson_f_phixis9480
@grandson_f_phixis9480 Месяц назад
Thank you very much sir
@HardikPatel-yn2nv
@HardikPatel-yn2nv Год назад
Hi..i really appreciate you..And love to listen and watching videos..many things I learnt from you.. just say..great great..bless u.thank you very much..🎉
@avanibaheti6117
@avanibaheti6117 Год назад
hello, actually i was trying running this code but it is giving me the error that pandas do not support apped function use concat oinstead , I am not getting how to remove that problem. Would you please help me if you have run this code
@arthambhardwaj
@arthambhardwaj 2 месяца назад
awesome content
@yashodhanvivek8086
@yashodhanvivek8086 2 года назад
u r awesome..
@Sy06274
@Sy06274 Год назад
you are Awesome 😎😎😎😎
@jinks3669
@jinks3669 2 года назад
Saraswati maa ko actual tribute to aapne diy hain bro . Naman to your dillegence.
@AlayaKiDuniya
@AlayaKiDuniya 2 месяца назад
Well appreciated. Love from pakistan nitish sir.
@shlokkumar6257
@shlokkumar6257 5 месяцев назад
found it sir, thank you sir.
@maheshgoudapatil4408
@maheshgoudapatil4408 Месяц назад
Nice video sir, to understand how to use the API's in Python
@sandipansarkar9211
@sandipansarkar9211 Год назад
finished watching
@JustPython
@JustPython 10 месяцев назад
Nice video
@vikrantchoudhary4411
@vikrantchoudhary4411 11 месяцев назад
too good!!!
@sandipansarkar9211
@sandipansarkar9211 Год назад
finished watching again for better praactice
@zkhan2023
@zkhan2023 3 года назад
You are the best teacher in my whole programming career love you sir for this valuable information
@talkswithRishabh
@talkswithRishabh 2 года назад
Ya 🥺
@umasharma6119
@umasharma6119 2 года назад
🔥🔥
@samarnaama
@samarnaama Год назад
#thankyou_note First of all thankyou sir for such an informative video. I am a person from a non-CS background, and so far, the series has been very much interesting. #RapidAPI_problem The issue is that I tried pulling some data from RapidAPI, but most of it has 100-200 rows. Or may be I need to explore more. It is a common issue for most of us recent learners, on how to fetch data from Rapid API. If you guide us a bit over it. That would be highly beneficial for us noobs. #My_efforts Though, I did from a website called AlphaVantage, and most of these sources, having APIs provide code too. For example, I was able to get data of IBM stock for a month. Is that all right? Any other suggestions for this?
@Enjoyurlife1789
@Enjoyurlife1789 9 месяцев назад
my kind of binge watching
@krishnakanthmacherla4431
@krishnakanthmacherla4431 2 года назад
Done
@MRAgundli
@MRAgundli 3 месяца назад
done
@paragvachhani4643
@paragvachhani4643 Год назад
Sir amazing..amazing Right now I make my first data set from API (rickandmortyapi ) ... I generate csv file too sir.. But i did all the thing on googlecolab...so i dont know where this csv file saved... I am stuff..sir I am not CS student but I want to make my carrer in DS.. So..
@gauravtricks8267
@gauravtricks8267 Год назад
In your google drive
@Enjoyurlife1789
@Enjoyurlife1789 9 месяцев назад
is it free?
@adarshkaintura2502
@adarshkaintura2502 5 месяцев назад
Sir the thing wo api link show hi nhi karra hai, kuch or hi api aara h
@AbhishekKumar-oc9vm
@AbhishekKumar-oc9vm Год назад
Sir, why is DSA important for machine learning because I am thinking of learning it, but that will take me a lot of time. Should I learn DSA or not?
@atharvkazarid2-354
@atharvkazarid2-354 Месяц назад
sir. in getting error that 'AttributeError: 'DataFrame' object has no attribute 'append'' but its working using concat method.... anyone facing this issue can try this
@vikaskadam9842
@vikaskadam9842 Год назад
sir you are gem, thanks for knowledge sharing😊😊😊🙏🙏🙏🙏
@gautamsah5075
@gautamsah5075 2 месяца назад
sir, i couldn't lfind movie section that is shown in your screen. 06:18, and not getting api option, so let me use your api. i tried with 2 google accounts.
@Softnichub
@Softnichub 2 года назад
I am facing some problems with extracting links from an excel sheet to make a data frame. I have done so much research but have not done it yet. Please do help me. Thank you so much in advance.
@shaleen2005
@shaleen2005 Год назад
o btw it worked it took some time
@shaleen2005
@shaleen2005 Год назад
the jupyter cell cannot run when i am giving it the requests.get('copied url form api correctly') it shows * in respective cell number please help thx
@tanmayshinde7853
@tanmayshinde7853 2 года назад
sir, can you make a video on how to use rapid API cause we are not getting API key.
@malik_fa
@malik_fa Год назад
Hello, see the next video of this playlist, where you are not able to get data from API or don't have API key, still you can access their data using web scraping.
@kiranhassankhattak6750
@kiranhassankhattak6750 11 месяцев назад
​@faisalhussain5007 can you please provide me a link
@user-zt3kc5we1f
@user-zt3kc5we1f 4 месяца назад
i am facing this error? AttributeError: 'DataFrame' object has no attribute 'append'
@mathics2869
@mathics2869 3 месяца назад
If you got the solution pls tell me
@mohammadkhan596
@mohammadkhan596 3 месяца назад
I need the pull data from ERP to google sheet using python code then how will to do
@123arskas
@123arskas Год назад
Man you're beautiful. Awesome content
@zainfaisal3153
@zainfaisal3153 7 месяцев назад
Sir! Why don't we convert SQL and API fetched data to csv or json file and work with it easily?
@shahidnoorani8193
@shahidnoorani8193 4 месяца назад
need help, i got API keys but me try kar raha hu par mujhe film rating wala api link hi nahi mila raha please help
@ayeshaashraf191
@ayeshaashraf191 15 дней назад
link of tmdb api in which we have to select movies and then top rated movies sir i'm not able to find top rated movies can any tell me
@kshamapathak4693
@kshamapathak4693 8 месяцев назад
Hello sir.. I m not able to get the JSON file, even the option like u get to submit the API key.. just a Try it box is generated and in that my key has already pasted..result is i m getting 401 error can u help?
@gautamsah5075
@gautamsah5075 2 месяца назад
sir append method did not work. on using AI suggested to use concat(df, temp) and it worked. thank you. and how to export this final data, into a file for sharing/uploading?
@gautamsah5075
@gautamsah5075 2 месяца назад
ok done to csv using ( df.to_csv('data.csv') )
@Star-xk5jp
@Star-xk5jp 6 месяцев назад
day1:date:9/1/2024
@jillanisofttech2977
@jillanisofttech2977 2 года назад
Sir ic ma movies k link kisyee add kryee gayee????
@sherin7444
@sherin7444 2 года назад
for each url we are hitting different APIs right?.So each time do we need seperate API key?
@campusx-official
@campusx-official 2 года назад
No. Same api key will work
@vivekvicky748
@vivekvicky748 Год назад
Sir how do API from trading economics website I need crude oil prices dataset please sir reply🙏??
@suyashdahale4355
@suyashdahale4355 10 месяцев назад
I am getting KeyError 'results' when i am running loop
@usmanyousaaf
@usmanyousaaf Год назад
Like ATM all bank use the api
@avanibaheti6117
@avanibaheti6117 Год назад
hello, actually i was trying running this code but it is giving me the error that pandas do not support apped function use concat instead , I am not getting how to remove that problem. Would you please help me if you have run this code
@karanparashar6824
@karanparashar6824 3 месяца назад
GOD
@chinmaykonchada
@chinmaykonchada 2 месяца назад
Hello sir, TMDB website is not responding. So can you suggest any other website.
@avanibaheti6117
@avanibaheti6117 Год назад
can anybody tell me how to fetch from rapid api
@battelbots_shots5896
@battelbots_shots5896 5 месяцев назад
why only 14 rows data is fetching ever time i hit api anyone have solution
@omkarfadtare3054
@omkarfadtare3054 2 года назад
How to getdata using rapidapi???
@khan-lp1fm
@khan-lp1fm Год назад
Sir ya api key mujy ni day raha ha ma log b howa layqen pir b ni day raha kia karo ma es ka
@sandipansarkar9211
@sandipansarkar9211 Год назад
finished coding
@shineyk..9017
@shineyk..9017 Год назад
Sir I am getting key error:’results’. Plz help
@depalvveturkar
@depalvveturkar Год назад
Sir I am getting Key Error - 'results'. When I checked there is some issue from page 506 to 536 i am unable to download data, I have got the data before 506 page. But still around 600 movies data is missing. What needs to be done
@shineyk..9017
@shineyk..9017 Год назад
I am also getting same error. If yours resolve plz help me.
@sandalagrawal8587
@sandalagrawal8587 Год назад
I am also getting the same error, were you able to solve this?
@deepanshukohli9105
@deepanshukohli9105 2 года назад
How to find dynamically range of for loop?
@DataScience111
@DataScience111 2 года назад
using len() function
@hossain9410
@hossain9410 25 дней назад
i tried but rapidapi said i did not subscribe to their API
@mahipalmahato7648
@mahipalmahato7648 11 месяцев назад
6:04
@afeedsm6520
@afeedsm6520 Год назад
I didn’t get api key
@devloperinsights
@devloperinsights 4 месяца назад
It is the key basically for the authentication which is considered by the providing website
@jaiveersingrajput7380
@jaiveersingrajput7380 Год назад
sir please tell how to solve this 404 error
@adityashinde9040
@adityashinde9040 2 года назад
Sir, Rapid Api pe endpoint maang rahe hai. jo bhi endpoint denge vahi bas result fetch hota hai. to pure data ko fetch kaise kare ???
@arpitajana947
@arpitajana947 2 года назад
Did you found the solution ?
@adityashinde9040
@adityashinde9040 2 года назад
@@arpitajana947 no
@anshulsharma7080
@anshulsharma7080 Год назад
Sir Api key invalid bta ra h, jbki hme naya account bnane k bad hi mili h key
@shashwatraj3842
@shashwatraj3842 Год назад
same problem
@anshulsharma7080
@anshulsharma7080 Год назад
@@shashwatraj3842 api key shi se daalo ni btayga
@anshulsharma7080
@anshulsharma7080 Год назад
@@shashwatraj3842 watch closely not even a single (.) is allowed with your api key
@anshulsharma7080
@anshulsharma7080 Год назад
Code execute ni hua last m sir, in the upcoming versions append function will be removed so it is asking to use pandas. concat instead.
@gauravtricks8267
@gauravtricks8267 Год назад
Same happened with me if you found the solution please share
@anshulsharma7080
@anshulsharma7080 Год назад
@@gauravtricks8267okei buddy, df =pd.concat([df, temp_df ], ignore_index=True) .
@aakashmaddheshiya11
@aakashmaddheshiya11 Год назад
@@anshulsharma7080 thank u brother it worked very well
@ShreyansLakade
@ShreyansLakade 8 месяцев назад
@@anshulsharma7080 thank you brother..!
@saurabhbarasiya4721
@saurabhbarasiya4721 3 года назад
api create karne me issue aa raha h
@suahilbashir1945
@suahilbashir1945 2 года назад
mjhy bhii
@ayeshaashraf191
@ayeshaashraf191 18 дней назад
26_6_2024
@zee4654
@zee4654 2 года назад
ye website to verification krny pr b verification mang rha bht bkws site ye movie wali .
@Enjoyurlife1789
@Enjoyurlife1789 9 месяцев назад
anyone got api?
@ankitlakshya450
@ankitlakshya450 7 месяцев назад
can we do this for power bi
@singnsoul6443
@singnsoul6443 Год назад
Thank you sir
@123arskas
@123arskas Год назад
Man you're beautiful. Awesome content
Далее
What is an API ? Simply Explained
5:21
Просмотров 1,9 млн
What is an API?
12:36
Просмотров 1,6 млн