This website features a public JSON-Based API which allow you to interface with it. Below are the methods and sample outputs.
This endpoint allows you to request the newest media from the website.
Sample Request: https://lezkiss.com/api/?output=json&command=media.newest&type=videos&offset=0&amount=10
The endpoint accepts the following parameters:
output | Must be set to "json". Currently, this is the only available output format. |
command | Must be set to "media.newest" |
type | The type of media to display. Must be "videos" or "galleries". |
offset | Number of media to offset the results by |
amount | Amount of content to pull, can be a maximum of 1000 |
The output will be a json array containing a boolean value of 'success', the total results for that type of media, and a sub-array containing the actual results of the query. You can adjust the number of displayed videos by using the "amount" parameter, and paginate the results by using the "offset" parameter.
This endpoint allows you to run search queries on the website.
Sample Request: https://lezkiss.com/api/?output=json&command=media.search&q=SEARCH_STRING&type=videos&offset=0&amount=10
The endpoint accepts the following parameters:
output | Must be set to "json". Currently, this is the only available output format. |
command | Must be set to "media.search" |
type | The type of media to display. Must be "videos" or "galleries". |
q | The search string query. Must be at least 3 characters long. |
offset | Number of media to offset the results by |
amount | Amount of content to pull, can be a maximum of 1000 |
The output will be a json array containing a boolean value of 'success', the total results for your query for that type of media, and a sub-array containing the actual results of the query. You can adjust the number of displayed videos by using the "amount" parameter, and paginate the results by using the "offset" parameter.
This end point lets you fetch information about a specific video..
Sample Request: https://lezkiss.com/api/?output=json&command=media.data&id=NUMERIC_MEDIA_ID
The endpoint accepts the following parameters:
output | Must be set to "json". Currently, this is the only available output format. |
command | Must be set to "media.data" |
id | Numeric ID of a video |
The output will be a json array containing a boolean value of 'success', and a sub-array containing the actual results of the query.