Yo, I've finished what I needed from your Python 2024 course and I want to say that ur way of explaining these concepts was much better than any other course I could find, and much more quicker! Thank you very much ^^.
the king is back! im glad youre making content again man you have no idea how useful and helpful it is! i get that it takes a huge chunk of time and ur not even profiting from it, but its much appreciated
Brother, I really want to know, with all these skills, at what stage are you in your career? Are you working a job? Do you have your own software house? Or are you in a big tech company? Please tell me so I can get the motivation to learn.
Name: Charizard ID: 6 Height: 17 Weight: 905 someone in the comments below explaind units of pikachu "height: 0.4m(1'04") , weight: 6.o kg (13.2 lbs) " so it looks that Charizard is 1.7m tall and weights around 90kg btw pikachu could weight 60kg, I remember that Ash was carrying him on his back xD Bro, thank you for your work :)
not sure if you have gotten your answer to this yet, but look into using pandas, once you have your dictionary from this pokemon api you can use pandas to write into your csv or excel file
# pokeapi.co/
#How to connect to an API using Python
import requests
base_url = "pokeapi.co/api/v2/"
def get_pokemon_info(name):
url = f"{base_url}/pokemon/{name}"
response = requests.get(url)
if response.status_code == 200:
pokemon_data = response.json()
return pokemon_data
else:
print(f"Failed to retrieve data {response.status_code}")
pokemon_name = "pikachu"
pokemon_info = get_pokemon_info(pokemon_name)
if pokemon_info:
print(f"Name: {pokemon_info["name"].capitalize()}")
print(f"Id: {pokemon_info["id"]}")
print(f"Height: {pokemon_info["height"]}")
print(f"Weight: {pokemon_info["weight"]}")
Do request. Status_code is in built? Only the status_code
This was an excellent example of displaying API data, thank you
Yo, I've finished what I needed from your Python 2024 course and I want to say that ur way of explaining these concepts was much better than any other course I could find, and much more quicker! Thank you very much ^^.
THIS IS EXACTLY WHAT I NEEDED, THANK YOU SO MUCH MAN
Bro , you have the best programming tutorials!
the king is back! im glad youre making content again man you have no idea how useful and helpful it is! i get that it takes a huge chunk of time and ur not even profiting from it, but its much appreciated
wonderful, simple to explain and easy to understand.
Nice tutorial,
I'm waiting for PyGame
Thank you a lot! That's exactly what i needed! Thank you a looooot!!!!! 😊😊
i love bro code
kiss bro code challenges
6:49 You've got nested double quotes in the print function, which throws me an error. So it's better to use single quotes inside double quotes.
I keep atleast one video at a time of yours on in the background at all times just to boost the algorithm
Bro, you are the boss
Really fun tutorial, thank you!
This helped a lot, thanks!
so helpful, thanks.
You have an extra slash (/) on the base_url, the output is going to have a double slash. It still works good anyways. Thank you 😄
Love your channel
Love it! Any similar videos for oauth2 authentication before we can use api?
APIkachu, thanks Bro !!!
Greetings from Poland Bro 🎉🎉🎉
Brother, I really want to know, with all these skills, at what stage are you in your career? Are you working a job? Do you have your own software house? Or are you in a big tech company? Please tell me so I can get the motivation to learn.
NICE
I don't know pokemon. I know when it comes to BroCode videos, gotta catch em all!
height: 0.4m(1'04") , weight: 6.o kg (13.2 lbs)
pika pkia
"I will pick my favorite pokemon of Typhlosion"💀
I'm your big fan sir, can u please start the mern stack development
… Do a video on creating an API. That would be interesting
Mr.Bro is every api's arcitecture different ?
Name: Charizard
ID: 6
Height: 17
Weight: 905
someone in the comments below explaind units of pikachu
"height: 0.4m(1'04") , weight: 6.o kg (13.2 lbs) "
so it looks that Charizard is 1.7m tall and weights around 90kg
btw pikachu could weight 60kg, I remember that Ash was carrying him on his back xD
Bro, thank you for your work :)
hmm , i think Mewtwo is my favourite pokemon
thank you so much
Bro please me pandas tutorial too
Hello Brother make java with Data Structure and Algorithms course
Please teach us api in JavaScript
Me!: gardeviour
My bro: arcious
How to handle authentication for rest API and using session?
Is this pycharm ?
I want call all data and save in files , without pass parameters how can do that? The api is soap
Jiggly Puff errrrr jigglypuff
Help mine shows errors
Yes Pikachu's height is probably 4 inches
Day 1 : Asking to walkthrough Rust language
This is the only bro code vid that failed me :(
tutorial for django....
Bro do you even code
lotad
Could you please show how to pull the entire list of Pokemon and generate a csv or excel table with specific attributes?
not sure if you have gotten your answer to this yet, but look into using pandas, once you have your dictionary from this pokemon api you can use pandas to write into your csv or excel file