Legacy THNapi:Views
Item DB Views
The THN Item DB has a feature called "views". They are like Database views, in that it shows a subset of data from the Item DB. For example there is a view to show WoC items, which will scan the database for any item that is flagged as a WoC item, or needs a WoC skill to use it.
Views are also used to provide access to additional Item DB functions, such as the Search page.
Not all views can be used outside the main Techhaven Network website. Some of these views are specialised for a purpose that isn't suitable for an external API user (For exmaple, there is a Google Sitemap view, which is used for Google.)
List of views
These are the current views avaialble to THN API users.
Faction Supply Manager Items
- View name: fsm
- Optional parameter: Faction code
This command can't be used Externally until the next Item DB/THN API release.
Faction Database Items
- View name: fdb
- Optional parameter: Faction code
This command can't be used Externally until the next Item DB/THN API release.
Rare Items
- View name: rares
Mr Jones Items
- View name: mr-jones
Recycle items
- View name: recycle
WoC items
- View name: woc-items
PPU Items Grouped
- View name: ppu
THN API CSS Test Page
- View name: html_test_page
This is for testing the CSS stylesheet in External websites. This command current does not work for some stupid reason.