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
  1. Other Api

Package

Fire this api to show list of packages and it's feature lists.

api/package

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

This end point will give you list of packages and features list.

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

{
   "package": [
        {
            "id": 1,
            "plan_id": "basic10",
            "name": "Basic",
            "currency": "USD",
            "currency_symbol": "fa fa-dollar",
            "amount": "0.00",
            "interval": "month",
            "interval_count": 1,
            "trial_period_days": null,
            "status": "active",
            "screens": 1,
            "download": 0,
            "downloadlimit": null,
            "delete_status": 1,
            "created_at": "2021-08-03T14:44:00.000000Z",
            "updated_at": "2021-08-23T13:52:55.000000Z",
            "free": 1,
            "feature": [
                "1",
                "2",
                "3",
                "4"
            ],
            "ads_in_web": 0,
            "ads_in_app": 0
        },
        {
            "id": 2,
            "plan_id": "premium01",
            "name": "Premium",
            "currency": "USD",
            "currency_symbol": "fa fa-dollar",
            "amount": "299.00",
            "interval": "year",
            "interval_count": 1,
            "trial_period_days": null,
            "status": "upcoming",
            "screens": 4,
            "download": 0,
            "downloadlimit": null,
            "delete_status": 1,
            "created_at": "2021-08-03T14:49:46.000000Z",
            "updated_at": "2021-08-23T13:53:08.000000Z",
            "free": 0,
            "feature": [
                "1",
                "2"
            ],
            "ads_in_web": 0,
            "ads_in_app": 0
        }
    ],
    "package_feature": [
        {
            "id": 1,
            "name": "Watch on your laptop, TV, phone and tablet",
            "created_at": "2021-08-03T14:42:21.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 2,
            "name": "Full HD and 4K available",
            "created_at": "2021-08-03T14:42:30.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 3,
            "name": "Unlimited movies and TV shows",
            "created_at": "2021-08-03T16:24:22.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 4,
            "name": "24/7 Tech Support",
            "created_at": "2021-08-03T16:24:36.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        },
        {
            "id": 5,
            "name": "Cancel anytime",
            "created_at": "2021-08-03T16:24:50.000000Z",
            "updated_at": "2021-10-28T05:06:22.000000Z"
        }
    ],
    "pricingtexts": [
        {
            "id": 1,
            "package_id": 1,
            "title1": "1 Watching Profile",
            "title2": "",
            "title3": "",
            "title4": "",
            "title5": "",
            "title6": "",
            "created_at": "2021-08-03T16:26:04.000000Z",
            "updated_at": "2021-08-03T16:26:04.000000Z"
        },
        {
            "id": 2,
            "package_id": 4,
            "title1": "4 Watching Profile",
            "title2": "",
            "title3": "",
            "title4": "",
            "title5": "",
            "title6": "",
            "created_at": "2021-08-03T16:26:50.000000Z",
            "updated_at": "2021-08-03T16:26:50.000000Z"
        }
    ]
}
{
    "message": "Invalid Secret Key !"
}
{
    "message": "Unauthorized !"
}

//or

{
    "message": "Secret Key is required"
}
PreviousSliderNextList of all movies

Last updated 3 years ago