<p>What method do I call to get the name of a class?</p>

It's not a method, it's a field.  The field is called
```
__name__
```
.
```
class.__name__
```
will give the name of the class as a string.
```
object.__class__.__name__
```
will give the name of the class of an object.