Apple News API client
API wrapper module for Apple News API https://developer.apple.com/library/ios/documentation/General/Conceptual/News_API_Ref/index.html
Install
npm install apple-news --save
Usage
var client = createClient({
apiId: '<API-ID>',
apiSecret: '<API-SECRET>'
});
Methods
client.readChannel ({ channelId }, cb)
client.listSections ({ channelId }, cb)
client.readSection ({ sectionId }, cb)
client.createArticle ({ channelId, article }, cb)
client.readArticle ({ articleId }, cb)
client.updateArticle ({ articleId, revision, article }, cb)
client.deleteArticle ({ articleId }, cb)
License
MIT