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 6 … 93 Next »
WEB API GuidService/Listing question(s)

 
  • 0 Vote(s) - 0 Average
WEB API GuidService/Listing question(s)
scJohn
Offline

Senior Member

Posts: 281
Threads: 41
Joined: Jun 2013
#1
2017-08-08, 02:05 PM
I am trying to familiarize myself with the WEB API using Swagger.

When I try API/Public/GuideService/Listing with all of the parameters set to default, I do not get any listing back. Just an empty Listing [] array. I was expecting listings for all channels for the next 3 hours. See the first 2 attached images.

I then tried adding a ChannelID and got back an error message about bad query string ... Key: Value: /n??. See the 3rd and 4th attached images. I verified the ChannelID by running API/Public/GuidService/Channels.

Any ideas as to what I am doing wrong?

Thanks.
Server:
CPU- Intel I5-8400, Ram -12GB, SSD - 128GB, HDD - 1TB, Turners - Hauppauge WinTV-quadHD, OS - Win 10 Home, Router - TP-Link Archer C7(AC1750).

Clients:
Intel NUC CPU - Intel N3700, RAM - 4GB, SSD - 128GB, OS - Win 10, Wired Ethernet.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#2
2017-08-08, 02:32 PM
The API is working but I just checked and there does seem to be a problem with Swagger for me too. Since this is a Get does

http://localhost:8866/public/guideservice/listing

work from a browser for you?

Martin
scJohn
Offline

Senior Member

Posts: 281
Threads: 41
Joined: Jun 2013
#3
2017-08-08, 07:45 PM (This post was last modified: 2017-08-08, 07:51 PM by scJohn.)
mvallevand Wrote:The API is working but I just checked and there does seem to be a problem with Swagger for me too. Since this is a Get does

http://localhost:8866/public/guideservice/listing

work from a browser for you?

Martin

All I get is:

Code:
{"Guide":{"filterStartDate":"2017-08-08T19:41:44.7876273Z","filterEndDate":"2017-08-08T22:41:44.7876273Z","filterGenre":"","filterChannelGroup":"","filterChannel":0,"Listings":[]}}

As an experiment, I also tried:

http://localhost:8866/public/guideservice/Channels

and I got the expected response. Browser - Chrome.
Server:
CPU- Intel I5-8400, Ram -12GB, SSD - 128GB, HDD - 1TB, Turners - Hauppauge WinTV-quadHD, OS - Win 10 Home, Router - TP-Link Archer C7(AC1750).

Clients:
Intel NUC CPU - Intel N3700, RAM - 4GB, SSD - 128GB, OS - Win 10, Wired Ethernet.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#4
2017-08-08, 08:41 PM
This is UJB's API not sub's so you may need to wait for UJB's attention. NEWA code is also more susceptible to data problems ie missing EPG rows, duplicate channel names etc then sub's code. If you pass me a link to your npvr.db3 file I can check it out.

Martin
scJohn
Offline

Senior Member

Posts: 281
Threads: 41
Joined: Jun 2013
#5
2017-08-08, 09:47 PM
I ran this:

http://localhost:8866/services?method=ch...el_id=7214

and got good output.

I also ran this:

http://localhost:8866/modern/guide.html


and got good output.
Server:
CPU- Intel I5-8400, Ram -12GB, SSD - 128GB, HDD - 1TB, Turners - Hauppauge WinTV-quadHD, OS - Win 10 Home, Router - TP-Link Archer C7(AC1750).

Clients:
Intel NUC CPU - Intel N3700, RAM - 4GB, SSD - 128GB, OS - Win 10, Wired Ethernet.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#6
2017-08-08, 09:57 PM
First one is sub's and the second one is different use of the API using incremental loading.

Martin
scJohn
Offline

Senior Member

Posts: 281
Threads: 41
Joined: Jun 2013
#7
2017-08-09, 02:18 PM
Hopefully UJB will check in here and provide some guidance.
Server:
CPU- Intel I5-8400, Ram -12GB, SSD - 128GB, HDD - 1TB, Turners - Hauppauge WinTV-quadHD, OS - Win 10 Home, Router - TP-Link Archer C7(AC1750).

Clients:
Intel NUC CPU - Intel N3700, RAM - 4GB, SSD - 128GB, OS - Win 10, Wired Ethernet.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Web API only_new Question Gazavant 6 2,583 2021-04-04, 06:54 PM
Last Post: sub
  Another Artwork question scJohn 15 8,035 2019-09-10, 05:33 PM
Last Post: nonob
  skin question pBS 2 3,304 2016-06-18, 07:03 PM
Last Post: pBS
  Another SQL question bgowland 15 7,143 2014-05-21, 08:09 AM
Last Post: bgowland
  Timing.Info question mvallevand 2 2,045 2013-04-19, 03:54 AM
Last Post: mvallevand
  Tv listing alihero 2 1,833 2012-07-09, 04:42 AM
Last Post: alihero
  N-PVR db3 EPG_EVENT time format question bgowland 3 2,060 2011-03-12, 05:26 AM
Last Post: bgowland
  Ping UncleJohnsBand (question about npvr soap) ioan 2 2,007 2011-02-18, 01:12 AM
Last Post: UncleJohnsBand
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,811 2011-02-17, 08:46 AM
Last Post: McBainUK
  Skin question for "Visible" 7ore 14 5,249 2010-09-22, 09:04 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode