Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to World of IPTV
Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
Hi People, here some "maybe" usefull information about the XC v2 API - didnt try it by myself
You schould be able to use it against you XC v2 CMS server
Please like - no likes needed to see the contents
Creating New Line
To create a New line, we will call the following URL.
http://dns:port/api.php?action=user&sub=create
The above URL, accepts the POST action, and to create a new line we will have to specify some arguments in an array called user_data
If you leave the username and/or password elements empty, the system will generate random characters for these 2 fields. In addition, leaving any field empty, api will use the default value for this field according to SQL Database. So theoretically, you can make a line with just Calling the Above URL, without any parameter, however the created user, wont have any bouquets inside.
You can call any other element that is in the database like
member_id
admin_enabled
enabled
allowed_ips
allowed_ua
force_server_id
is_isplock
admin_notes
and so on...
If you want to set the allowed_ips/allowed_ua since this is a JSON Encoded format you can do it like bouquet in the above Code.
The API will return a simple json encoded string that upon decoding will contain the element result which returns true/false.
In the above example, we will edit the max_connections, is_restreamer and exp_date for our line with username test_username, and password test_password that already exists in our database.
The procedure is almost the same as creating/editing & view info on a user line. The only difference is that instead of calling the user action, we will the stb action. Of course instead of username/password we will just have the mac parameter.
Is there a way as a reseller to call via the api how many credits I have left? Running 4 services I would like to have a python script or something call out to my services a few times per day and see how many credits I have and if that number is below a threshold I set it would email me or something. I figured out the API call for XUI One but not for Xtream Codes yet.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.