Navi. Soft30. open platform. Aggregation. Development Manual, navi. soft30 Manual
1. system Introduction 1.1 function Overview
It is an information age and is developing rapidly. in the past, there were very few ways to obtain information, probably only TV stations, radio stations, and other limited sources. There are countless ways available, such as QQ, official websites, and personal websites.
This development manual is written and developed based on aggregated data. Its function is to use, test, and display APIs on the aggregated data Open Platform for developers to develop quickly. focus more on the business
1.2 Runtime Environment
. NET Framework 4.0
1.3 usage
Double-click the software Icon, as shown in Figure 1-1.
Figure 1-1
The main framework page still uses the encapsulated page in the NaviSoft30 public class library.
2Model defines 2.1Api account
2.2Api Module
The function module is defined by enumeration.
2.3Api Information
2.4Api parameter information
2.5 dynamic execution
Two dynamic execution modes are available, as shown in.
L Method 1: directly request the API Url through Http
L Method 2: Use the encapsulated Service class Method
3. Data configuration 3.1 configure the [historical today] Module
L define the AppKey of the module (obtained by yourself)
L configure the API of this module
N APIName: API name
N APICNName: Chinese name
N APIVersion: Version Number
N APIUrlPrefix: the prefix of the API request address. Note: parameters are not included here.
N Description: descriptive text
N InstanceString: Call method in reflection mode, instance object string
N MethodName: name of the method called by reflection
N ParamValue: parameter object
N Params: list of parameters required to define the API request address
3.2 configure [flight status]
L The method for obtaining the city list is to directly obtain data through Http
4. Execute 4.1 for Data Execution [Today's history]
Click the [execute] button in the toolbar to call the configured method or Url to directly obtain data. Because the data is in JSON format, a Json object queryer is encapsulated, as shown in
4.2 run [flight status]
Click the [execute] button in the toolbar to call the configured method or Url to directly obtain data. Because the data is in JSON format, a Json object queryer is encapsulated, as shown in
5FAQ1. COM component reference
The project references several COM components, including the PDF document preview component, Office document preview component, and video play component. the framework itself has provided the installer in the \ packages \ Tools \ folder (the storm audio and video installer is not provided)
2. How to Use the SQLite Database
NOTE 1: The target platform of all C # projects is recommended to be x86, even in a 64-bit development environment.
Note 2: The SQLite driver needs to be installed on the client, can be officially downloaded, note: the framework uses the Net4.0 driver. The file name is: sqlite-netFx40-setup-bundle-x86-2010-1.0.98.0.exe
6 postscript
The open platform will be continuously improved. The current version is 3.1. Thank you for your use.