Function get_profile
Source pub async fn get_profile(client: &Client, api_key: &str) -> Result<User, String>
Expand description
Get the API key’s profile
This can be used to verify that a given Itch.io API key is valid
§Arguments
§Returns
A User struct with the info provided by the API
An error if something goes wrong