Some templated code for anyone to integrate with SFMC using API. This attempts to demonstrate but not cover all use cases. Feel free to request features/propose pull requests.
Check out https://github.com/Accenture/sfmc-connector/wiki to see details