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.
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
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
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
Bro , you have the best programming tutorials!
Really fun tutorial, thank you!
I keep atleast one video at a time of yours on in the background at all times just to boost the algorithm
Nice tutorial,
I'm waiting for PyGame
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 love bro code
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 😄
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.
Love it! Any similar videos for oauth2 authentication before we can use api?
height: 0.4m(1'04") , weight: 6.o kg (13.2 lbs)
pika pkia
Love your channel
I don't know pokemon. I know when it comes to BroCode videos, gotta catch em all!
… Do a video on creating an API. That would be interesting
I'm your big fan sir, can u please start the mern stack development
Mr.Bro is every api's arcitecture different ?
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
Hello Brother make java with Data Structure and Algorithms course
hmm , i think Mewtwo is my favourite pokemon
Please teach us api in JavaScript
Bro please me pandas tutorial too
Greetings from Poland Bro 🎉🎉🎉
Yes Pikachu's height is probably 4 inches
Day 1 : Asking to walkthrough Rust language
Help mine shows errors
This is the only bro code vid that failed me :(
tutorial for django....
thank you so much