Commit Graph

24 Commits

Author SHA1 Message Date
mike.rode d9aa5d8dae Refactor mostWatched query to accept query object instead of individual arguments. 2019-02-13 17:37:59 -06:00
mike.rode 652973f228 Add endpoint and tests for Plex sections. 2019-02-13 01:32:21 -06:00
mike.rode ca92855171 Endpoint for most watched and tests. 2019-02-13 00:57:04 -06:00
mike.rode 066d05b1be Check header type and parse XML to JSON if content-type is XML. 2019-02-13 00:42:03 -06:00
mike.rode f4fee56397 Parse getUsers response. 2019-02-13 00:01:11 -06:00
mike.rode 2ba174d6c9 Add response body to getUsers API test. 2019-02-12 23:52:16 -06:00
mike.rode 8b133ca3d0 Fix naming of tests. 2019-02-12 23:51:09 -06:00
mike.rode 4b282c3c03 Refactor tests to import mock XML and JSON from files. 2019-02-12 23:49:42 -06:00
mike.rode 30d69b1e85 Test for getUsers Api function. 2019-02-12 22:52:37 -06:00
mike.rode 5036222439 Add getUsers endpoint for plexApi. 2019-02-12 22:52:24 -06:00
mike.rode 94258f06f8 Update test to import plexApi instead of plexApi index. 2019-02-12 21:04:45 -06:00
mike.rode 749b396d63 Export instance of PlexApiClient instead of class constructor. 2019-02-12 20:57:29 -06:00
mike.rode ac4e2b3546 Fix config export so server settings are correct. 2019-02-12 20:37:35 -06:00
mike.rode 9a057ca1f1 WIP PlexAPI: Added tests for building url. 2019-02-11 04:26:02 -06:00
mike.rode 28c87283ba WIP PlexAPI: Added tests for requesting users. 2019-02-11 04:20:14 -06:00
mike.rode 3c96fcbfce WIP PlexAPI: Added tests for building url. 2019-02-11 03:08:17 -06:00
mike.rode 7a7ad733f3 WIP: First test and init PlexClientApi 2019-02-11 02:48:25 -06:00
mike.rode d87170c692 Add supertest and setup first api test. 2019-02-10 23:09:04 -06:00
mike.rode 103d421bbf Use ES6 module import and arrow functions. 2019-02-10 20:57:05 -06:00
mike.rode d32aa3c6cf Use babel preset node8 and force arrow functions. 2019-02-10 20:56:40 -06:00
mike.rode 174fd8a836 WIP: Setup basic API routing and controllers. 2019-02-10 19:37:38 -06:00
mike.rode 61659d1ab2 Add prettier, eslint, and husky with npm scripts. 2019-02-10 18:31:46 -06:00
mike.rode 38d586f3a2 Add babel-cli and babel-preset-es2015 and update start scripts 2019-02-10 17:36:01 -06:00
mike.rode e1e9aa00ae Initial commit 2019-02-10 16:57:20 -06:00