Create NPR_api_demo.py