Next Hour App
  • Introduction
    • Introduction
    • Key Features
    • Flutter
  • Installation
    • Flutter Installation
    • App Secret Key
  • project setup
    • App Deployment
      • Firebase
    • iOS Setup Instructions
    • Google Drive Key
    • OneSignal
    • Images
    • Reskinning
  • Publish your app
    • Requirements to Publish App
  • FAQ
    • Installation FAQ's
    • Access Denied
    • General Setting
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • Troubleshoot
    • Troubleshoot
    • Changelogs
  • Source & credit
    • Source & Credit
  • Support
    • Support
  • conclution
    • Conclusion
  • our products
    • Next Hour Addons
    • Our Products
  • Api Document
    • Getting Started
  • Get secret key
  • Auth Api
    • Login
  • Home Page Api
  • Actor detail page
  • Payment Api
    • Payment Method List
    • Manual payment list
    • Subscribed with manual payment
    • Subscribed with free subscription
    • Subscription Stop and Resume
    • Invoice
  • Player Setting Api
    • Player Setting
    • Advertise
  • User Api
    • View User profile
    • Wishlist
    • Watch History
    • User Profile Update
    • Manage Profile
    • Notification
  • Coupon Api
  • Other Api
    • List of Contents
    • Menu
    • Slider
    • Package
    • List of all movies
    • List of all tvseries
    • List of all movies, tveries and top movie and tvseries
    • Recent Movies and Tvseries
    • List of menu by movies and tvseries
    • Language by movies and tvseries
Powered by GitBook
On this page
  • Show all item in wishlist
  • api/showwishlist
  • Add movie / season in wishlist
  • api/addwishlist
  • Remove movie from wishlist
  • api/removemovie
  • Remove season from wishlist
  • /api/removeseason
  1. User Api

Wishlist

Fire this api to show, add or remove from wishlist.

Show all item in wishlist

api/showwishlist

GET https://yourdomain.com/api/showwishlist

This endpoint allows you to show all movies and seasons in wishlist.

Query Parameters

Name
Type
Description

secret

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization*

string

Bearer { bearer_token without bracket }

Accept*

string

application/json

{
   "wishlist": [
        {
            "id": 5,
            "user_id": 6,
            "movie_id": 2,
            "season_id": null,
            "added": 1,
            "created_at": "2021-12-21T11:10:36.000000Z",
            "updated_at": "2021-12-21T12:05:18.000000Z"
        },
        {
            "id": 6,
            "user_id": 6,
            "movie_id": null,
            "season_id": 6,
            "added": 1,
            "created_at": "2021-12-21T12:05:28.000000Z",
            "updated_at": "2021-12-21T12:05:28.000000Z"
        }
    ]
}

Add movie / season in wishlist

api/addwishlist

POST https://yourdomain.com/api/addwishlist

This endpoint allows you to add movie,tvseries or livetv in wishlist.

Query Parameters

Name
Type
Description

secret

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization*

string

Bearer { bearer_token without bracket }

Accept*

string

application/json

Request Body

Name
Type
Description

type*

string

enter movie / tvseries type like M , S

id*

interger

enter movie / tvseries id

value*

integer

1

{
    "user_id": 6,
    "movie_id": "2",
    "added": "1",
    "updated_at": "2021-12-21T11:10:36.000000Z",
    "created_at": "2021-12-21T11:10:36.000000Z",
    "id": 5
}
{
    "message": "Unauthorized !"
}

//or

{
    "message": "Secret Key is required"
}
{
   "message": "Invalid Secret Key !"
}

Remove movie from wishlist

api/removemovie

GET https://yourdomain.com/api/removemovie

This endpoint allows you to remove movie in wishlist.

Path Parameters

Name
Type
Description

id *

string

ID of movie

Query Parameters

Name
Type
Description

secret

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization*

string

Bearer { bearer_token without bracket }

Accept*

string

application/json

{
    "id": 5,
    "user_id": 6,
    "movie_id": 2,
    "season_id": null,
    "added": "0",
    "created_at": "2021-12-21T11:10:36.000000Z",
    "updated_at": "2021-12-21T11:11:13.000000Z"
}
{
    "message": "Unauthorized !"
}

//or

{
    "message": "Secret Key is required"
}
{
   "message": "Invalid Secret Key !"
}

Remove season from wishlist

/api/removeseason

GET https://yourdomain.com/api/removeseason

This endpoint allows you to remove season from wishlist.

Path Parameters

Name
Type
Description

id

integer

ID of season

Query Parameters

Name
Type
Description

secret

string

Client secret key will goes here which you get from admin panel.

Headers

Name
Type
Description

Authorization*

string

Bearer { bearer_token without bracket }

Accept*

string

application/json

{
    "id": 5,
    "user_id": 6,
    "movie_id": null,
    "season_id": 6,
    "added": "0",
    "created_at": "2021-12-21T11:10:36.000000Z",
    "updated_at": "2021-12-21T11:11:13.000000Z"
}
{
    "message": "Unauthorized !"
}

//or

{
    "message": "Secret Key is required"
}
{
    "message": "Invalid Secret Key !"
}
PreviousView User profileNextWatch History

Last updated 3 years ago