Answer the question
In order to leave comments, you need to log in
How to get value from json response?
I send a request, I get the following response:
"profiles": {
"4b46f672d17a417dabccc2ee3e53a38d": {
"profile_id": "4b46f672d17a417dabccc2ee3e53a38d",
"cute_name": "Strawberry"
}
Answer the question
In order to leave comments, you need to log in
maybe make a cut?
search for profile_id in the text and slice
or make a variable that will get the value of profile_id
parsing=[ "News" , " https://bank.gov.ua/","Events","profile_id " ]
for z in parsing:
if(z[ 0:10]=="profile_id"):
print(z)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question