YQL or Yahoo Boss related web searches/keywords - yql

Does anyone know if Yahoo Boss or YQL can return related keywords for search ?
Example I query for windows and I need results like : microsoft, glass, windows 7, XP, house, etc . ?

You could use the microsoft.bing.relatedsearch table, which uses the RelatedSearch SourceType from the Bing API (2.0).
set appid='B57D2A9074308394D44BE2C16455F536E3A7CEB5' on microsoft.bing.relatedsearch;
select * from microsoft.bing.relatedsearch where query="windows"
(Try this in the YQL console)
This query gives the following related keywords (blame Bing if you don't think they're good results!).
Windows Live, Windows Update, Windows Downloads, Window 7 Wallpaper, Windows Live Messenger, Windows Internet Explorer, Windows XP Update Downloads, Bay Windows

Related

Power BI reports in Delphi

I am new to Power BI and would like to be able to display pre-created Power BI reports in Delphi. I searched on the internet using Google but found little information for Delphi developers, just general information on Power BI. I am using Delphi 10.2.3.
To embed a report, you must authenticate yourself and acquire an access token. It will be used in further calls to Power BI REST API.
Normally, this access token is acquired using ADAL, but I have doubts you will find one for Delphi. You may take a look at this question to see how you can do this using raw web requests in Delphi: How to connect a Delphi desktop app to a third-party Dynamics 365 app using OAuth 2.0?
When you acquired an access token, get the report's embedUrl using Get Report In Group API.
Embedding of Power BI reports is basically loading them in a in a web page. This demo shows you how to embed the report in a WPF application. You can do the same in Delphi. Basically you need to copy powerbi.js, ReportLoader.js and ReportLoader.html files from the demo to your project. The first file is the Power BI client. The second is JavaScript code, which you need to run to load the report in the third one. From your code you need to navigate to ReportLoader.html file and run LoadEmbeddedObject JavaScript function from ReportLoader.js, passing to it the embedUrl of your report, your access token and the Id of the report to be embedded. I can't tell you how to call this function in Delphi, but the WPF demo code may give you some ideas.
Good luck!

Can you query Mendeley Desktop with an API?

I would like a script to query my Mendeley Desktop for a list of articles. Is this possible (in any scripting language, including shell)? I know there is an API I could use over http, but I need a local query for when I am not connected to the internet.
No, there's no API for that, I'm afraid.
You'd have to pick apart the local database that Mendeley Desktop uses. But this would be precarious, and would break if Desktop changed its internal database format.
A better option might be for you to run a query against the REST API periodically when you're online (perhaps even automatically), and cache the results so that you have them available when you're offline.
In the local folder there is something called Mendeley Desktop API, which you can see used in the OpenOffice plugin https://github.com/Mendeley/openoffice-plugin/blob/master/src/MendeleyDesktopAPI.py . Open the Mendeley client and open http://localhost:50002/ . I have no idea if using it is supported and how stable the API is, I am just looking around myself.

QuickBooks with Joomla integration

I need to integrate our website in Joomla and quickbooks by importing the customer, invoice data from joomla site to Quickbooks. I am using Quickbooks pro 2014 on windows machine. I see there is QuickBooks PHP DevKit available by ConsoliBYTE. By searching on stackoverflow, I see people have used this toolkit to perform the data import(customer creation) into QuickBooks. I need to know what all Quickbooks functionality can be achieved using this php toolkit. That is what it can and cannot do. Is it build on QB SDK?
For example I have scenario where I need to import customers and need to add them as customer jobs. So does phpdevkit supports job creation? If yes then how do I find the xml for that in phpdevkit quickbooks library? So probably there will be more such similar requirements coming from end user in future and I need to consider these facts while designing the solution using php toolkit. I do not want a solution which is limited to only few or specific functionality. I have read the QB SDK and it is mentioned that SDK can be used with .NET, java. both solution goes with webconnector. SDK can perform almost all the functions as supported in quickbooks UI. So I am confused which one I should pick PHP toolkit by ConsoliByte or .Net/Java based. Language is not a concern for me. My aim is to look for solution flexible and capable to cover maximum QB functionality which includes customer creation, invoice creation, adding customer job and updating the customer/invoice on every synchup as well as limitation which the solution poses must be known before implementation.
So along with what QuickBooks PHP DevKit can or cannot do, I need to know its difference from Java/.Net based QB SDK (Not language PHP or VB.NET/Java but core framework)?
I tried searching it over stackoverflow and google but could not found this information. I appreciate any inputs shared.
Thanks,
Amit
I need to know what all Quickbooks functionality can be achieved using this php toolkit.
The full list is much too long to post here. As a basic overview:
Automatically send orders placed on your website to QuickBooks Online or QuickBooks for Windows
Charge credit cards using the QuickBooks Merchant Service
Connect to Intuit Anywhere / the Intuit Partner Platform and the v3 APIs
Get access to QuickBooks reports
Pull information out of QuickBooks and display it online
Connect to all Microsoft Windows versions of QuickBooks
Connect to QuickBooks Online Edition
etc. etc. etc.
More details available here:
https://github.com/consolibyte/quickbooks-php
For QuickBooks FOR WINDOWS, you can see the full list of operations supported by clicking the "Select Message" drop-down in the OSR:
https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html
For QuickBooks ONLINE, you can see the full list of operations supported here:
https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services
Is it build on QB SDK?
Yes.
So does phpdevkit supports job creation?
Yes. Anything the QuickBooks SDK supports you can do.
If yes then how do I find the xml for that in phpdevkit quickbooks library?
Use the QuickBooks OSR I linked to above. Search for CustomerAdd (Jobs in QuickBooks are just Customers with a ParentRef defined).
We also have examples on our wiki:
http://www.consolibyte.com/docs/index.php/Example_qbXML_Requests
And provide support via our forums:
http://consolibyte.com/forum/
I do not want a solution which is limited to only few or specific functionality.
Again, anything the QuickBooks SDK can do, can be done via the PHP DevKit.
So I am confused which one I should pick PHP toolkit by ConsoliByte or .Net/Java based.
Joomla is written in PHP, so why the heck would you choose something written in another language...? It would be silly to try to tie .NET or Java in with your Joomla app/database...
which includes customer creation, invoice creation, adding customer job and updating the customer/invoice on every synchup
All of that is certainly do-able.
So along with what QuickBooks PHP DevKit can or cannot do, I need to know its difference from Java/.Net based QB SDK (Not language PHP or VB.NET/Java but core framework)?
The difference is the language. .NET is not PHP. PHP is not Java. Everything is just a wrapper around the QuickBooks SDK/COM API. The only practical difference in the language the stuff is written in.

How should I import data into QuickBooks from my Rails application?

I'm working on a Rails project that needs to be able to import/export (mostly import) invoice data to/from QuickBooks. In Googling, the QuickBooks SDK and Web Connector come up often. However, both seem to only be for the Windows desktop versions. This QuickBooks instance is on a Mac.
The import can either be via an API or, if possible, a file could be generated from within the web app that could later be imported manually.
Currently, QuickBooks 2009 is what's being used. However, assume we can use nearly any version of QuickBooks. Online or desktop (Mac).
What would the best route be to get invoice data to/from the Rails application to QuickBooks?
Unfortunately, QuickBooks for Mac does not support any real method of integration. It's definitely the "black sheep" of the Intuit family.
The closest you can get is IIF file imports/exports.
There is detailed information on this (deprecated, and very limited) file format over here:
http://support.quickbooks.intuit.com/support/articles/HOW12778
You would be so, so, sooo much better off moving off of QuickBooks for Mac through, as the APIs for both QuickBooks for Windows (Web Connector/SDK/COM) and QuickBooks Online (REST v3 APIs) are much, much better than IIF imports/exports.

How to start developing with Microsoft MapPoint?

How to start developing with Microsoft MapPoint? I need to make a simple app
that will use the MapPoint web service, so it is an online rather than an offline
app which would use an ActiveX control in C# for example.
I can't find the SDK for download. There are few on Microsoft's site but they
are old, something like 2001 and 2002.
Please give me some advice
The MapPoint Web Service was discontinued about two years ago. If you want an online solution, look at the various Bing Maps products/services which include AJAX and web services, and replaced MWS.
The MapPoint desktop product remains in production. Documentation for 2013 is online and ships with the application. It has an ActiveX control but this is not suitable for Internet applications because each user would require a licensed copy of MapPoint installed on their machine. In an Intranet it is possible to do this, but generally it is not practical for the Internet.

Resources