NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) NextPVR Web Console v
1 2 Next »
API built into NextPVR Web Console

 
  • 0 Vote(s) - 0 Average
API built into NextPVR Web Console
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2012-12-04, 02:05 AM
just letting developers out there know, there is a API built into the NextPVR web console.

http://[server]:[port]/api

its a WebAPI api, all calls work over JSON (most over XML, not all currently will in future, some objects just need serialization added, JSON for some funny reason doesn't need this, its just automatic).

you can test in it the browser via json by including a "json=true" parameter

eg
http://localhost:8877/api/recordings?json=true

it uses HTTP methods for actions, so "GET" returns objects, "POST" updates objects, "DELETE" deletes/cancels objects etc. its not super well documented ATM, but full source code is available on github and you can see all the calls via the web console if you open up browser tools in chrome/firefox/IE.

this will allow native applications for iOS, Android, Windows Phone, etc talk to NextPVR without a developer needing to write their own service to do so.

the web console basically uses this api from the client side using javascript, so pretty much anything you can do in the NextPVR Web Console you can do via the API.

my intention is to keep this API as the core communication path and handle all requests this way.

if any developers would like to know more, i'm happy to help out.

I'm hoping other developers will pick this up, and make use of things like "Users" etc.
Ijaja
Offline

Junior Member

Posts: 42
Threads: 8
Joined: Mar 2010
#2
2013-10-17, 08:35 AM
oh, here is one! I will test it this week.
I am really using such feature, for my own multimedia tool, and until now i emulate the webclient using the "normal" web server, which is really not a charm.
Is it what i need: Requesting recordings and creating and deleting them?

Because we just talking: One of the biggest problems until now was, that when using the webservice it caused the recording service to crash often.
Yesterday i updated to a current version and i hoped that it would help about this. But this feature would even be better of course.
Ijaja
Offline

Junior Member

Posts: 42
Threads: 8
Joined: Mar 2010
#3
2013-10-17, 07:41 PM
Okay, this does not work.
Installation failed. Error 1001. I think you know it already.
Then i tried to contact you on your website. Also failed.
:-((

What can i do to install it. When do you plan do release a none alpha version?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#4
2013-10-17, 11:04 PM
Have you checked NextPVR 3.1.1? It has more powerful and complete api functionality, even reven opted to use it for his Samsung client.

Martin
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#5
2013-10-18, 04:14 AM
Ive basically abandon this project, the community just wasnt interested.
cracksloth2
Offline

Junior Member

Posts: 8
Threads: 2
Joined: Mar 2011
#6
2013-10-26, 08:20 PM
reven Wrote:Ive basically abandon this project, the community just wasnt interested.

that is really too bad, reven!!! i have been following the project and have been pretty excited about it but must admit I've been waiting for a more stable release before I really got into it. I think it's a brilliant concept and the polish you were putting on it was incredible (a web application that didn't seem like a compromise to use). All the best, reven - hope you reconsider...
Oopsjoppe
Offline

Junior Member

Posts: 26
Threads: 4
Joined: Feb 2013
#7
2013-11-04, 10:19 AM
cracksloth2 Wrote:that is really too bad, reven!!! i have been following the project and have been pretty excited about it but must admit I've been waiting for a more stable release before I really got into it. I think it's a brilliant concept and the polish you were putting on it was incredible (a web application that didn't seem like a compromise to use). All the best, reven - hope you reconsider...

+1 . This was very important for me. The API Work is wonderful to have!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,814
Threads: 954
Joined: May 2006
#8
2013-11-04, 05:48 PM
There are already several API's available via sub's web server and NEWA. Because the NextPVR server is closed source, at best reven's Web Console would have provided a different wrapper around already available functionality.

Martin
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#9
2013-11-04, 09:31 PM
before v3 of nextpvr there werent many web api calls, but sub has added oodles into 3 so a separate api isnt required.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR Web Console v0.2.0.215 reven 17 17,104 2014-06-17, 10:03 PM
Last Post: gEd
  NextPVR Web console to replace NEWA one day? reven 31 21,281 2013-03-14, 07:15 PM
Last Post: topcat
  Web console + xbmc nextpvr plugin psycik 1 4,824 2013-03-02, 06:23 AM
Last Post: reven
  Web Console: Next release reven 10 9,321 2013-01-13, 04:42 PM
Last Post: kricker
  NextPVR Web Console Alpha 1 Release reven 8 8,671 2012-12-31, 03:32 AM
Last Post: reven

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

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

Linear Mode
Threaded Mode