View Ais- Data With Qt?
Solution 1:
You should register account at http://www.aishub.net/ and subscribe to get access for their API described here. At desktop side you should build Qt application, that will not frequently then every minute call their API URL with your credentials using QNetworkRequest, retrieve QNetworkReply result output (this will be XML or JSON). And then parse the XML or JSON with Qt build-in classes for processing XML or JSON documents. After parsing you should display processed data in your preferred way, for example, sortable table view, or save in database, whatever.
Solution 2:
This is not entirely a coding question.. you should found out how to get the data from the site on your own.. But anyway - there's a XML API on that site
Qt supports XML nicely.. you can store the xml if you want in file or in sqllite database, or just parse it an show it.
You can use some view widget to show the parsed data - something like QListView, QTableView ..
Post a Comment for "View Ais- Data With Qt?"