Fetching Data From an API | Day 17 | 100 Days of Machine Learning
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
Пікірлер: 124
It's really required strong Hindi content for data science, thank you brother
Immensely grateful for what you're providing. Best content bar none!!
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
11 ай бұрын
so what happened? got a job?
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.
Amazing explanation and thanks sir for giving this type quality content at free of cost.
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?
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
Uplifting session, I have seen this kind of channel very simple and easy explanation Thanx a lot
u are doing immensely great work keep it up very nice teaching methodology an ur knowledge is tremendous on the subject
Its really good and to the point for DA and BI experts
Loving your teaching style ...
Thank you Sir for this, I had never generated any data. Also the information which you gave on boosting Kaggle profile. Thank you
Thanks man , wonderful tutorial
khattam..finnish... such a superb video. hats off to you man !
awesome video! thank you so much for your efforts .
Bundle of thanks, you helped us lot, keep it up
Thankyou So much Sir for your Contribution 😃
Ek number bhai ap nay dil jeet liya bht shukriya apka ap bht achy sy sub kch bta rhy ho 😍
GOLD! Thanks a lot
Thanks for sharing this quality content.😀
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
Жыл бұрын
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.
best machine learning playlist in hindi
You are a savior!! Thanks a lot!
Thank you very much sir
You are gem Sir!
Thanks Sir!!
Nice video sir, to understand how to use the API's in Python
Thank you sir😁🙌🙌
thanks a lot sir !😊
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
Жыл бұрын
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
Awesome🔥
Respect Man ❤
awesome content
u r awesome..
too good!!!
you are Awesome 😎😎😎😎
Well appreciated. Love from pakistan nitish sir.
Saraswati maa ko actual tribute to aapne diy hain bro . Naman to your dillegence.
Nice video
found it sir, thank you sir.
You are the best teacher in my whole programming career love you sir for this valuable information
@talkswithRishabh
2 жыл бұрын
Ya 🥺
sir you are gem, thanks for knowledge sharing😊😊😊🙏🙏🙏🙏
finished watching again for better praactice
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
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.
finished watching
#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?
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.
I need the pull data from ERP to google sheet using python code then how will to do
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?
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
Sir the thing wo api link show hi nhi karra hai, kuch or hi api aara h
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
Sir! Why don't we convert SQL and API fetched data to csv or json file and work with it easily?
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?
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
2 ай бұрын
ok done to csv using ( df.to_csv('data.csv') )
🔥🔥
I am getting KeyError 'results' when i am running loop
sir, can you make a video on how to use rapid API cause we are not getting API key.
@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
11 ай бұрын
@faisalhussain5007 can you please provide me a link
Sir ic ma movies k link kisyee add kryee gayee????
Sir how do API from trading economics website I need crude oil prices dataset please sir reply🙏??
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
Жыл бұрын
In your google drive
@Enjoyurlife1789
9 ай бұрын
is it free?
my kind of binge watching
Hello sir, TMDB website is not responding. So can you suggest any other website.
day1:date:9/1/2024
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
for each url we are hitting different APIs right?.So each time do we need seperate API key?
@campusx-official
2 жыл бұрын
No. Same api key will work
can anybody tell me how to fetch from rapid api
i am facing this error? AttributeError: 'DataFrame' object has no attribute 'append'
@mathics2869
2 ай бұрын
If you got the solution pls tell me
why only 14 rows data is fetching ever time i hit api anyone have solution
Done
How to getdata using rapidapi???
Sir I am getting key error:’results’. Plz help
done
How to find dynamically range of for loop?
@DataScience111
2 жыл бұрын
using len() function
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
Жыл бұрын
I am also getting same error. If yours resolve plz help me.
@sandalagrawal8587
Жыл бұрын
I am also getting the same error, were you able to solve this?
Sir ya api key mujy ni day raha ha ma log b howa layqen pir b ni day raha kia karo ma es ka
GOD
Like ATM all bank use the api
@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
I didn’t get api key
@devloperinsights
4 ай бұрын
It is the key basically for the authentication which is considered by the providing website
sir please tell how to solve this 404 error
Sir Api key invalid bta ra h, jbki hme naya account bnane k bad hi mili h key
@shashwatraj3842
Жыл бұрын
same problem
@anshulsharma7080
Жыл бұрын
@@shashwatraj3842 api key shi se daalo ni btayga
@anshulsharma7080
Жыл бұрын
@@shashwatraj3842 watch closely not even a single (.) is allowed with your api key
Man you're beautiful. Awesome content
6:04
o btw it worked it took some time
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
2 жыл бұрын
Did you found the solution ?
@adityashinde9040
2 жыл бұрын
@@arpitajana947 no
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.
i tried but rapidapi said i did not subscribe to their API
finished coding
api create karne me issue aa raha h
@suahilbashir1945
2 жыл бұрын
mjhy bhii
26_6_2024
ye website to verification krny pr b verification mang rha bht bkws site ye movie wali .
anyone got api?
can we do this for power bi
Thank you sir
Man you're beautiful. Awesome content