You can find the snap service repository at https://github.com/UN-OCHA/tools-snap-service
Install this module and add a function that calls ocha_snap_generate($url).
All Snap Service parameters are documented at https://github.com/UN-OCHA/tools-snap-service#parameters