How can I take multiple screenshots of a webpage using automated screenshot API?

Can anyone please give me a tutuorial on how can I take multiple screenshots of a webpage using automated screenshot API.