NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 2 3 4 5 … 93 Next »
API Commands

 
  • 0 Vote(s) - 0 Average
API Commands
Tunes0710
Offline

Member

United Kingdom
Posts: 123
Threads: 22
Joined: Feb 2020
#1
2020-04-21, 10:42 AM
Hiya.
Is there a list of commands available to the service?method= section?
I'd like to get my eggdrop bot talking to my NextPVR setup, so wondered what commands were available, so I know what I can/can't get the bot to do.

Cheers.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,112
Threads: 957
Joined: May 2006
#2
2020-04-21, 12:34 PM
None and there are lots of API calls creates for his own use in the browser interface so you might be able to read something in the js code code

You can read the Kodi pvr-nextpvr C++ source for the xml interfaces, there are most json python examples in knewc for major functions and I will be sending some C# examples to the jellyfin and and Emby repos soon.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#3
2020-04-21, 05:18 PM
Ultimately it has api to do all the things you see in the web app, so this will give you a fair idea of what is possible.

It's not documented, but it's mostly straight forward. There are examples available, through current projects using the api.

If there is specific functions you're interested in, I can try to point you in the right direction, or give you more details.
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#4
2020-12-07, 09:48 AM
(2020-04-21, 05:18 PM)sub Wrote: Ultimately it has api to do all the things you see in the web app, so this will give you a fair idea of what is possible.

It's not documented, but it's mostly straight forward. There are examples available, through current projects using the api.

If there is specific functions you're interested in, I can try to point you in the right direction, or give you more details.

It would be nice though to have some Swagger API documentation of all the endpoints and it's parameters. I am currently using developer console F12 in my browser and clicking through the web interface to reveal the API calls not ideal.
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#5
2021-01-19, 07:00 PM (This post was last modified: 2021-01-19, 07:05 PM by janoonk.)
(2020-12-07, 09:48 AM)janoonk Wrote:
(2020-04-21, 05:18 PM)sub Wrote: Ultimately it has api to do all the things you see in the web app, so this will give you a fair idea of what is possible.

It's not documented, but it's mostly straight forward. There are examples available, through current projects using the api.

If there is specific functions you're interested in, I can try to point you in the right direction, or give you more details.

It would be nice though to have some Swagger API documentation of all the endpoints and it's parameters. I am currently using developer console F12 in my browser and clicking through the web interface to reveal the API calls not ideal.

Tip: you can use Postman and its Intercept function with Interceptor Chrome plugin to capture API calls:
https://www.postman.com/
https://chrome.google.com/webstore/detai...ifpcfhicfo
https://learning.postman.com/docs/sendin...terceptor/
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#6
2021-01-19, 07:05 PM
Yep, good suggestion for people wanting to see the api calls.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IR commands idkpmiller 19 5,635 2008-04-07, 06:28 AM
Last Post: stustunz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode