How to use a Public API | Using a Public API with Python
HTML-код
- Опубликовано: 22 май 2024
- APIs are extremely useful to know how to use. In this video we walk through what an API is and then we look at how to actually use it.
CoinMarketCap: coinmarketcap.com/
CoinMarketCap API: coinmarketcap.com/api/
CoinMarketCap API Documentation: coinmarketcap.com/api/documen...
Python Code - GitHub: github.com/AlexTheAnalyst/Ale...
API FULL PROJECT LINK: • Automating Crypto Webs...
____________________________________________
SUBSCRIBE!
Do you want to become a Data Analyst? That's what this channel is all about! My goal is to help you learn everything you need in order to start your career or even switch your career into Data Analytics. Be sure to subscribe to not miss out on any content!
____________________________________________
RESOURCES:
Coursera Courses:
Google Data Analyst Certification: coursera.pxf.io/5bBd62
Data Analysis with Python - coursera.pxf.io/BXY3Wy
IBM Data Analysis Specialization - coursera.pxf.io/AoYOdR
Tableau Data Visualization - coursera.pxf.io/MXYqaN
Udemy Courses:
Python for Data Analysis and Visualization- bit.ly/3hhX4LX
Statistics for Data Science - bit.ly/37jqDbq
SQL for Data Analysts (SSMS) - bit.ly/3fkqEij
Tableau A-Z - bit.ly/385lYvN
Please note I may earn a small commission for any purchase through these links - Thanks for supporting the channel!
____________________________________________
SUPPORT MY CHANNEL - PATREON/MERCH
Patreon Page - / alextheanalyst
Alex The Analyst Shop - teespring.com/stores/alex-the...
____________________________________________
Websites:
Website: AlexTheAnalyst.com
GitHub: github.com/AlexTheAnalyst
Instagram: @Alex_The_Analyst
____________________________________________
0:00 Intro
0:12 What is an API?
1:38 Looking at CoinMarketCap API
4:53 Using an API Key with Python
9:56 API JSON format to Dataframe
12:26 Outro
All opinions or statements in this video are my own and do not reflect the opinion of the company I work for or have ever worked for
Super helpful as always @Alex .
Love that you didn't censor the glitches, errors, and obstacles and instead explained that it's a reality and described how you deal with it. This is as helpful as the technical aspects.
I surveyed RUclips looking for a practical explanation to this topic, this one is the best ever. I just found what I was looking for after being frustrated and depressed. Thank you so much Alex
I got stucked for about 30 minutes trying to connect it to DataSpell. It worked, now I can leave the tutorial with peace :D Thanks!
Alex you are the best data science RUclipsr in the world. Thanks for the great content we truly appreciate it.
That's just awesome ...... Eagerly waiting for full project
After increasing the data limit, I just closed everything and opened the notebook again and it worked fine :) Thank you for your videos!
Thank you Alex, I started to believe its not important what you do, most important part is how you do. And I can say, you doing great! So useful and informative video! Thanks a lot
Loved it! I started RUclips recently and I'm still small, but you are one my main inspirations for taking this step. Keep doing what you do!
Hey Alex, I can't thank you enough for all the useful videos and resources you share. Thank you so much for all your efforts. I have learned a lot from your videos and still learning...!! keep doing the great work.
Hey Alex, I have been meaning to get my hands dirty with the API and now I feel a bit more confident in testing it out and seeing it for myself. Looking forward to the API Project.
Nice video, thank you! Looking forward to the project video(s) that you mentioned!
Thank you so much Alex!
this is Super Helpful!
I'm trying to pulling up data using API with python before and I got stuck .
But, thanks for this video. I'm ready for the next step
Good video, this will help people get over the scary barrier of an API.
Thank you!
Very informative Alex! Thank you!
Cannot wait for next video :)) Love your tutorials
Thank you so much, Alex!! It is really intriguing for me. I cannot wait for the further relevant projects.
You're more than welcome! I'm looking forward to it too! Next week should be a fun one :)
I love how real this video gets when the unexpected error occured. Obviously everyone has encountered something similar and things don’t go as planned! 😂
Thank you for uploading this. It was worth watching
Good training. Thanks for putting this together.
That was like magic, I can't wait to learn all this
Thank you for explaining it so well.
Thx for sharing cool video!
Nice video 😀… You had to restart the kernel once you have changed the data rate limit. Just in case anyone does not know, you should restart the kernel after installing a package from the pypi using the pip/pip3.
Just at the right moment it has arrived when I am just started learning SQL.Thank you sir, you are awesome.
Where re you learning the SQL. I have been kind of wondering where best to learn that at a relatively cheap amount or free. Priority is largely on sound education
I am also learning SQL
@@MoHSinALi-xt5ib Where please?
@@ezekomaugoo5569 and also playlist available on this channel
Thank you!!
awesome
Hi Alex I wanted to ask you a question. Can you become a data analyst with just a FinTech degree? And do you recomend getting one if so? Thank you
thanks
i need that
Hi Alex Sir I actually want to ask very important question about the interview its almost asked in all Data analyst interview. Question is that Interviewer asked that if you have less time and your analysis will take more time so in this case what should you reply to your stakeholder
This is great!
I would like to ask, did you learn these things on the job or before?
I learned how to use APIs on the job
Hi Alex, I also faced the same problem but I'm not able to solve it since I was using Colab. It would be very helpful if you could help me resolve this issue.
In the future, can you please use a black/contrast mouse cursor with a bigger size. The white one is really hard to track for those watching on a TV. There are dozens of us.
Cool
Alex please, who offers the best course on SQL?
Okay, so question here - I was taught to add my importa all to the top of my code, even when I figure out that I’ll need it later on in a project, so that folks can see what I’m using all in one place.
I was shocked 😮 when you added yours below some of your live coding. Do you have a preference or is it not something you think about? I’m asking because I’m trying to learn the best practice - if there is one
Depends on the situation - like you said you may not always know and adding it later isn't a big deal. I do typically try to put them all at the top though :)
Gotcha! Thank you 🙏🏾 @@AlexTheAnalyst
favori keltoşum
Hey Alex,
Firs off, I love your videos! second, I am having a issue. Once I updated the data rate limit, it worked briefly and then my ipykernel could not reconnect. did anyone else have this problem or know how to fix it?
How to write a code that keeps capturing the numbers as they change? With the date of change
Can we retrieve data from other web site using this code?
Someone please help how he increased the data limit, what he mentioned in Anaconda prompt?
Next power bi video ???
Dude I work with anaconda environment and doing that or deploying something is impossible. I think it is because I don't have Python installed on my PC, as I said I use Anaconda, and I installed Python in there.
I know this is old, but I'm getting a "Missing api key", even tho I used the same code as the doc, video, and tried different versions. When I test it in postman, it works fine.
create new api key it's free
Please make Python Tutorial video for data analyst
That'll be the next series after the Power BI Series :)
Hi Alex, you've such a great way to explain processes. Thank you for the content. Greetings from Brazil
So glad to hear that! Thanks for watching!
while running the below code, I'm getting a message saying Key error: data
pd.json_normalize(data['data'])
Would be helpful if someone could point out the solution for this
when you fetch data from api did u got the first 2 keys it should be status and data
What would be a learning pathway to get from zero to understanding this?
I would probably take "Python for Everyone" on Coursera. It is fantastic to learn from basics all the way up to stuff like this.
You’re too generous
Forth view
I'm a Mac user, and there is no anaconda prompt, I don't know how to do...
did you find out?
@@nuraiymsardarbekova6509 I had the same issue! I used this guys tutorial ruclips.net/video/B_YlLf6fa5A/видео.html&ab_channel=emaadmanzoor its for windows but worked for me on mac. you need to access the hidden folder for jupyter (command + shift + . ) when looking in the root folder. then in the jupyter notebook config file you change the data limit and un comment out the code.
@@nuraiymsardarbekova6509 did you find out lol
@@nuraiymsardarbekova6509 I figured it out. Close you jupyter notebook and the jupyter bash terminal. Open a new terminal window (not a jupyter terminal just mac terminal) and copy and paste alexes command in there. It will open jupyter notebooks with the new settings and it will work.
Thanks! You absolutely butchered that metaphor