Open Spreety APIs
The Open Spreety project enables anyone to incorporate the powerful Spreety database into their web site or blog. Training videos are below.
Code Generation : GenreKids
| Open Spreety: Three Choices |
|---|
| HTML Script Embed Code | C#.NET WCF Code | C#.NET Web Service Code |
|---|
- In a web page, copy and paste the following code between the <BODY> tags:
 | - Right click on the .NET project, and left click on Add Service Reference.
- Under address, use http://ws.spreety.com/TvOnline2009.svc?wsdl
- Change namespace to SpreetyWcf and click OK.
- In the web.config, under <basicHttpBinding>:
- Set <binding> maxBufferSize="6553600" maxReceivedMessageSize="6553600"
- Set <readerQuotas> maxStringContentLength="819200"
- In an ASPX file, add the following code in the body:
| - Right click on the .NET project, and left click on Add Web Reference.
- Under URL, use http://ws.spreety.com/TvOnline2009.svc?wsdl
- Change the web reference name to SpreetyWs and click Add Reference.
- In an ASPX file, add the following code in the body:
|
Any domain that abuses the above code will be blocked. Please email Spreety@spreety.com to register a contact email. |
The contact email above is for initial development. Please email Spreety@spreety.com to register a contact email. |
The contact email above is for initial development. Please email Spreety@spreety.com to register a contact email. |
How It Will Look : GenreKids
Click on the following links for code generation (C# WCF, C# Web Service, and embed JavaScript).
General
|
670px Wide Format
|
Image Only Format
|
|---|
|
|
|
Decades
|
670px Wide Format
|
Image Only Format
|
|---|
|
|
|
Genres
|
670px Wide Format
|
Image Only Format
|
|---|
|
|
|
Spreety reserves the right to change or remove these features at any time.