Skip to content

amitbend/playstv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playstv

MIT license

Node.JS module for the plays.tv API - based on playstv-node API docs are available here You can also test the different api calls through the developer portal - make sure you've got a key first!

Getting started

  1. Head over to the developer portal and ask for an API key.
  2. Create a new instance of plays.tv object with your new appkey and appid
  3. Test your key with the verify method

Methods

  • videos.search - searching videos with your criteria

    • Search videos matching the provided parameters in searchParams. Pagination is automatically resolved.
    • userId string Plays.tv handle of the user who curated the video
    • gameId string Plays.tv ID of the game
    • hashtags Array of hashtags without the hashtag (#)
    • metatags An array of metatags with the hashtag (#) removed
    • @param {Object} searchParams Object of the above keys
    • @param {Number} count Total results you want to get.
    • @param {String} sort Sorting technique (trending, popular, recent)
    • @param {String} sortdir Direction to sort (asc, desc)
  • users.get - getting user information

  • verify - Verifies the API key and token given in the constructor

About

plays.tv node module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published