Latest Neocron News and Information
- New test server patch #564 has been released to Vedeena
Difference between revisions of "Legacy THNapi:FAQ"
(Hmm after Logan linked to the FAQ, I realised the FAQ isn't suitable for day to day wiki users so it needs expanding...) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= General questions = | = General questions = | ||
− | == Who should read this section? = | + | == Who should read this section? == |
== What is the THN API? == | == What is the THN API? == | ||
Line 9: | Line 9: | ||
= General questions - For users of the Wiki = | = General questions - For users of the Wiki = | ||
− | == Who should read this section? = | + | == Who should read this section? == |
== Is there a guide for using the THN API in the wiki == | == Is there a guide for using the THN API in the wiki == | ||
Line 17: | Line 17: | ||
= General questions - For fansite owners and programmers = | = General questions - For fansite owners and programmers = | ||
− | == Who should read this section? = | + | == Who should read this section? == |
== When will the THN API be released for other fansites to use? == | == When will the THN API be released for other fansites to use? == | ||
Line 31: | Line 31: | ||
== Will there be support for .NET? == | == Will there be support for .NET? == | ||
− | The THN API is a Web service. It is possible to use the use the '''Add web reference''' in Visual Studio 2005. The location of the WSDL is at [http:// | + | The THN API is a Web service. It is possible to use the use the '''Add web reference''' in Visual Studio 2005. The location of the WSDL is at [http://api.techhaven.org/api.php?wsdl http://api.techhaven.org/api.php?wsdl]. |
== What will I need to use the THN API PHP library? == | == What will I need to use the THN API PHP library? == |
Latest revision as of 13:00, 5 February 2009
General questions
Who should read this section?
What is the THN API?
The THN API is a web services for fan sites to insert item DB data into their own sites or applications.
General questions - For users of the Wiki
Who should read this section?
Is there a guide for using the THN API in the wiki
How do I find an item ID for an item
General questions - For fansite owners and programmers
Who should read this section?
When will the THN API be released for other fansites to use?
There is no date set. There are quite a few issues to be resolved before I can allow the THN API to be released. Some are technical issues, and some are cosmetic issues.
Also there will be a set of PHP libraries released that fansite owners put in their sites, which will connect and pull the data from the item DB.
Will the THN API libraries be open source?
Yes, the THN API libraries are available with a GPL-V3 license. link
Will there be support for .NET?
The THN API is a Web service. It is possible to use the use the Add web reference in Visual Studio 2005. The location of the WSDL is at http://api.techhaven.org/api.php?wsdl.
What will I need to use the THN API PHP library?
- You will need a THN API key
- A good knowledge of PHP coding
- If you wish to customise the layout, you will need a good knowledge and understanding of CSS
- You will need a web server with at least PHP5.2.5 PHP4 is not supported at all, as the libraries uses features not available PHP4, and also support for PHP4 is being dropped. The libraries should work on PHP5.0.x to PHP 5.2.4, but the libraries have not been tested on these versions of PHP.
Why do need an API Key?
This is so we know who is using the THN API, so we can contact users with impending changes that could break your website, and also to ensure the THN API is being used correctly.
Who is using/testing the THN API now?
- The NC-Wiki - Is using the current THN API PHP libraries
- The Rares Database - It is pulling an XML feed of rares data so that Item data can be shown in the rares DB.
- The Ultimate Launcher - There is a in game command to search for items while you are playing Neocron.