User data

To obtain data about yourself, the user, you can utilize the User class. The way this class is designed ensures your IDE will hint you user attributes.

For now, you can only read user data, not edit them.

Say we’ve already authenticated.

from dynacrop import User
me = User()

My ID: {}
Number of polygons: {me.polygon_count}
Max call per minute: {me.max_calls_per_minute}

My ID: 1
Number of polygons: 2970
Max call per minute: 60