Is there a Delphi implementation of Google Data APIs? - delphi

Google offers various libraries for interfacing with the Google Data APIs. Currently these do not include Delphi (Win32) support.
Has anyone done any work on a Delphi interface to Google Data, or the underlying Atom/AtomPub protocols?

There is an open issue with Google suggesting that they create one.
Thanks for your suggestion.
This probably isn't likely to happen anytime in the near future, as we need to
concentrate our available resources in other areas.
However, GData is based upon standard XML and HTTP requests, so work on a Delphi
client library can certainly be done outside Google. I'll leave this issue open so
others can vote for it, and perhaps someone in the community can pick this up.
So you can vote it up.

Related

What's the proper and correct way to access files on O365 from iOS

I know that someone mean will probably close this question for being opinion, but the truth is, I'm not after opinion as such, but actual facts about the correct way and how to do this.
I've been searching around for quite a time and I'm still unclear as to what direction to take. It seems there are a billion* libraries that I could use, but I want to know what would be the correct, proper supported method of achieving this.
Essentially, I have a very simple requirement to list and download files from Sites on our Office 365 subscription to an iOS application.
Initially, I looked at the REST interface for Sharepoint and, from a browser, was able to easily perform a GET to our site and receive and receie a response with meta data about the file, for example:
https://mytenantid.sharepoint.com/_api/web/getfilebyserverrelativeurl('/MyFile/Here/Document.txt')
I could also retrieve JSON output instead of XML by specifying an Accept header of application/json using the POSTMAN REST client for Chrome.
So far, so easy. Just the authentication to do outside of the browser and that's it.
Phew!!
I started by looking at Basic authentication, but wasn't sure if this is the right way to do it and even if it would work?
On looking further, it seems that actually, using OAuth might be the way to go. Apparently, you can either do this yourself (no idea how), or use a library (ADAL?) from Microsoft? Unfortunately, this all looks half baked will very little documentation that seems to work. It also requires the use of CocoaPods and workspaces and isn't just a simple library that I can copy to my project and start using (a la SwiftyJSON). There also seems to be a lot of other libraries around too.
I should mention that I'm using Swift, so I've tried converting code from Objective C to Swift (unsuccessfully) too. Apparently I can't use "readWithCallback" with an argument list that the code tells me I should actually use -- even a sample application I downloaded had the same issue.
I've also tried using node.js with a script (not a Web Application) and the documentation and number of libraries available for that is almost worse.
Any assistance to achieve this really simple capability would be hugely appreciated -- it's been driving me nuts.
Many thanks,
D.
*this might be a slight exaggeration.
Office 365 has a RESTful API that you can use any programming language to authentication and integrate in your app.
Here is a simple example for iOS connected app to office 365. The sample shows how to do this in Objective C and SWIFT.
https://github.com/OfficeDev/O365-iOS-Connect
If you want to full iOS samples for office 365 connected apps, Check out this link:
https://msdn.microsoft.com/en-us/office/office365/howto/starter-projects-and-code-samples
Enjoy :)

Firefox Lightbeam API

I am sure you guys have heard about Mozilla Firefox's LightBeam technology which graphically shows you the third party websites connected to your website. I would like to do something similar to that. Is there an API that I could use? Has anyone of you familiar with such an API?
Also, if there is something similar to Lightbeam that anyone of you might be using, then I'll appreciate if you can let me know.
Thanks.
Lightbeam (formerly Collusion) is an Add-on SDK extension, written in Javascript. I don't think it offers an official API you could interact with, and uses itself only APIs Firefox/Gecko provides plus some third party JS libraries such as d3.
But it is open source, so you're free to study the code, make pull requests and borrow stuff for your own projects.

Is MetaWeblog API still supported?

Is the MetaWeblog API still supported? I ask because while researching XMLRPC, the Cook Computing library and implementing MetaWeblog API, I clicked a link that took me to MSDN that states the topic has been removed.
There is a link there that takes me to new docs for Windows Live SDK. On the new page i cannot find current info on MWAPI.
I am using EF, MV3, and VB.Net.
MetaWeblog API support had always seemed (to me) tenuous at best. Seeing as how the project hasn't been updated since 2003 (http://www.xmlrpc.com/metaWeblogApi) I think it is safe to assume that support has essentially ceased. That's my .02 anyway.
(Also, the Yahoo web group's newest post is from 2004 (http://tech.groups.yahoo.com/group/MetaWeblog-API/))

Getting autocomplete googleMaps data into a Delphi combobox

I am doing a Delphi transport application interacting with GoogleMaps APi and i would like to propose all "near by" names coming from the autocomplete Google Maps API when i enter the starting adress of the direction.
All of this will be displayed in a TCombobox when would be changed on the OnChange propertie.
Is that possible ??? ever heard of it ???
Thanks a lot
Gwenael
There is a part of the Google Maps API called The Google Places Autocomplete API. You can send requests (in the examples part of the reference page there is also the example with bounds for your purpose) as you will type in your combo box (ideally after some short delay for typos corrections). As the result you can receive either JSON or XML format file. After you parse it, you will get the list of appropriate suggestions.
I'm not sure with the Google Maps API Key; if it's possible to use it in standalone application (and about the limitations) because I haven't implemented static part of the Google Maps yet.
My first thought (assuming an approach which is based on remote controlling the web interface) was: this can be solved using TWebBrowser and friends (IWebBrowser2, IHTMLElement etc.). See my answer on this question to get a feeling for this. You could use Embedded Web Browser from bsalsa for easy access to all the Internet Explorer functionality.
My second thought was: there might be a part in the official API for this. But this I don't know. If there is none then the above approach could be a (work-intensive) workaround.
Yes, it's possible.
I have written a free and open source component that implements the Google Place Autocomplete and Google Place Details API's:
https://carbonsoft.co.za/components/
or
https://github.com/RynoCoetzee/TRCGPlaceAutoCompleteCombo

Create new calendar system support in Exchange OWA

Since Exchange doesn't provide support for all local calendar types in OWA, I need to create one, using Microsoft.Net's support of calendars, but where should I start?
If I understand correct what you want, the usage of Exchange Server Web Services would be the best way for you. EWS gives you full set of API for appointments and they can be used in .NET very easy. You can use Microsoft Exchange Server 2010 Web Services SDK (EWS SDK) with Exchange Server 2007 SP1 (you should just use ExchangeService constructor with ExchangeVersion.Exchange2007_SP1 parameter).
I recommend you to watch video http://channel9.msdn.com/pdc2008/BB46/. I find this video as the best starting point.
Other 6 videos from
https://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032427565&Culture=en-US can gives you more additional information. In two last videos from there you can learn some optimization tricks like retrieving only the properties which you need and paging of results. Using of custom extended properties in appointments is also explained in both of this video sources.
Some small examples how to work with with calendar items (appointment) with respect of EWS SDK you will find here: http://msdn.microsoft.com/en-us/library/dd633702.aspx.
On http://blogs.msdn.com/exchangedev/ you will find more interesting information, links and some good examples.

Resources