This is a Very Late Reply, But I know that I didnt know it myself either! So this is going to at least help others as well.
@BN, You need an API to get a Consumer Key and a Secret Key. I will add the link below and explain short how to create a Project and then you will get a Consumer Key and a Secret Key when you are done.
1) Login to your Yahoo account on Yahoo.com Website.
2) Visit this Link: https://developer.apps.yahoo.com/projects
3) Click on Create Project button and fillout your needs and what you want to use the API.
4) When you are done creating the Project you should