I can’t log in to my account using the api, and I don’t quite understand how to send a request to get information about my account after that .
Your question is too broad.
Please follow the official API documentation and provide more information about the things you already tried.
Include any relevant information such as the language/framework you are using, any relevant portion of your code and errors returned by the API.
This post might also be useful if you are just starting with the API.