Your question is too broad.
Please follow the official API documentation and provide more information about the things you already tried.
Include any relevant information such as the language/framework you are using, any relevant portion of your code and errors returned by the API.
This post might also be useful if you are just starting with the API.