Search the Community
Showing results for tags 'plugin api webservice'.
Found 1 result
It is rough around the edges but is working none the less! This is a small footprint HTTP Server Plugin for LaunchBox. It contains image and web service APIs for accessing LaunchBox/BigBox properties. Provides the following: Standard HTTP interface for retrieving HTML pages for the current game. Any ImagePath property can be retrieved from the IGame object (Unbroken.LaunchBox.Plugins.Data.IGame.) by specifying /Image/ followed by the Image descriptor (the part preceding ImagePath). The page returned will refreshed every few seconds to keep the image current. * /Image/Back * /Image/Background * /Image/Box3D * /Image/Cart3D * /Image/CartBack * /Image/CartFront * /Image/ClearLogo * /Image/Front * /Image/Marque * /Image/PlatformClearLogo * /Image/Screenshot * /Manual - Not yet implemented JSON API for retrieving: * /StateManager (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager) * /StateManager/* (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager.*) * /StateManager/SelectedGames (Unbroken.LaunchBox.Plugins.Data.IGame) * /StateManager/SelectedGames/* (Unbroken.LaunchBox.Plugins.Data.IGame.*) * /StateManager/IsInGame The JSON being returned doesn't use envelopes and is subject to change until release. I'm open to suggestions on the formatting, structure, and interface in general. I just got this working for my test cases and it may hit a null reference and 404 pages when elements are empty or missing. Source: https://github.com/fpdavis/MarquesasServer To install copy the folder MarquesasServer that is located under the bin folder into your LaunchBox/Plugins folder. The server will begin running whenever LaunchBox is started. The first time you run it with the plugin a Windows security dialog will pop up asking if you want to allow it to connect to the network. You will need to select one of the two options presented, the option "Private networks, such as my home or work network will suffice". Once in LaunchBox you will see a new "Marquesas Server Admin" option under the Tools menu to manage the server.