I was learning to use site APIs for a project, and at the beginning I was struggling and needed to ask.
This was the example of using the API to test credentials on the site, I believe it's C ++:
curl -u user:password https://myanimelist.net/api/account/verify_credentials.xml
The problem is that I started to learn now and it was through Python 3, so I have no idea what the command does, let alone a Python equivalent.
After a few seconds I thought about using something with RobotBrowser or urllib, but I'm not sure if it's right, as I do not want to divert studies from focus, better ask, thank you in advance.