Can you provide me a script to access their API?