Skip to content

greenlizard/hoodie-plugin-notification

Repository files navigation

hoodie-plugin-notification

Build Status Dependencies devDependency Status Code Climate

Dependencies

  hoodie install hoodie-plugin-notification

for cordova/phonegap users

  bower install hoodie-plugin-notification

Setup client

 <script src="/_api/_files/hoodie.js"></script>

for cordova/phonegap users

  <script src="<bowerdir>/hoodie/dist/hoodie.js"></script>
  <script src="<bowerdir>/hoodie-plugin-notification/hoodie.notification.js"></script>

API (Dream Code)

  • hoodie.notification.follow(login)
  • hoodie.notification.unfollow(login)
  • hoodie.notification.post({text: 'text'}, /opitional/ {type: [mediaplugin.enum]})
  • hoodie.notification.getPost({id: 'postId')
  • hoodie.notification.updatePost({id: 'postId',text: 'text'}, /opitional/ {type: [mediaplugin.enum]})
  • hoodie.notification.deletePost({id: 'postId'}, /opitional/ {type: [mediaplugin.enum]})
  • hoodie.notification.comment(postId, {text:'text'})
  • hoodie.notification.updateComment({ id: 'postId'}, {id: 'commentId'})
  • hoodie.notification.deleteComment({ id: 'postId'}, {id: 'commentId'})
  • hoodie.notification.count(postId, [type.enum])
  • hoodie.notification.uncount(postId, [type.enum])
  • hoodie.notification.like(postId)
  • hoodie.notification.unlike(postId)
  • hoodie.notification.feed(postId)
  • hoodie.notification.share(postId)
  • hoodie.notification.abuse(postId)
  • hoodie.notification.following(/opitional/ login)
  • hoodie.notification.followers(/opitional/ login)
  • hoodie.notification.getProfile(/opitional/ login)
  • hoodie.notification.updateProfile(/opitional/ login, profileObject)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages