USPS Domestics Label Printing

I am trying develop a script which prints Domestic label for USPS. I contacted USPS they asked me to use https://developer.usps.com/api/71 , but there is not any script in PHP or JavaScript to do it . If anyone knows how to print it show me script I will really appriciate it.

Thank in Advance

I tried it with XML api but it will be phased out soon so I need to utilize new api