The InstaClient takes advantage of the selenium library to excecute tasks which are not allowed in the Instagram Graph API (such as sending DMs).
With this library you can create Instagram Bots with ease and simplicity. Instaclient is a Python library for accessing Instagram's features.