STANDS4 Web Services:
Scripts API
The Scripts API from STANDS4 enables you to get instant data from our vast scripts collection.
Request URL:
https://www.stands4.com/services/v2/scripts.php
Request parameters:
Parameter | Value | Required | Default | Description |
---|---|---|---|---|
uid | string | Y | Your API user id |
|
tokenid | string | Y | Your valid developer token id |
|
term | string | Y | The word you would like to get script results for |
|
format | string | N | xml | The format in which you want the result returned (xml or json) |
Sample request URL:
https://www.stands4.com/services/v2/scripts.php?uid=1001&tokenid=tk324324&term=casablanca&format=xml
Response elements:
Element | Description |
---|---|
results | Contains all of the query responses |
result | Contains each individual response |
title | The script title this result is referring to |
subtitle | The script title this result is referring to |
writer | The writer of this work |
link | A direct link to the scripts on Scripts.com |
Sample response:
<?xml version="1.0" encoding="UTF-8"?>
<results>
<result>
<title>Casablanca</title>
<subtitle>Rick Blaine, who owns a nightclub in Casablanca, discovers his old flame Ilsa is in town with her husband, Victor Laszlo.</subtitle>
<writer>Julius J. Epstein</writer>
<link>https://www.scripts.com//script/casablanca_57</link>
</result>
</results>
{
"results": {
"result": {
"title": "Casablanca",
"subtitle": "Rick Blaine, who owns a nightclub in Casablanca, discovers his old flame Ilsa is in town with her husband, Victor Laszlo.",
"writer": "Julius J. Epstein",
"link": "https://www.scripts.com//script/casablanca_57"
}
}
}
Want to use this service?
The Scripts API service is free to use for up to 100 queries per day.
For a premium commercial license, please contact us.