I did a couchdb view in Javascript and when I test it with a get python requests, it returns me things I want when I do :
url='http://admin:kolea21342@localhost:5984/my_database_2/_design/newdesigndoc/_view/ReviewinUsers?key="ayoub"'
res = requests.get(url)
print(res.text)
But now I want to compare the value that returns to me with res.text to another value, But I don't know how to proceed because it returns me a thing like that :
{"total_rows":8,"offset":0,"rows":[
"value":"ayoub"
]}
So in addition I just want to compare the value that I got with a variable. I don't know how to mention it. (My goal is to do a login and compare password entered to password in the database).
Thanks for everyone who will answer !