Firefox Lightbeam API - firefox-addon

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.

Related

Is there an API for asking the Google Assistant general questions via plaintext?

I'm looking for a way to integrate the Google Assistant into my chatbot and be able to get answers to general questions like "whats the weather?", "how tall is X?", "what does X mean?" etc. (just how Google Home works). Ideally this would be over a REST API and I'd get the response back inside of a JSON payload.
I looked through the Google Assistant SDK docs but it wasn't clear on how I could host/build an API that does this. Any ideas on if something like this already exists?
Yes, you use the Google Assistant SDK.
There isn't a REST API, since other requirements for the SDK are poorly suited for REST. Instead it uses gRPC, which lets them publish a standard interface and lets you compile this interface to local language bindings.
IF you are using Python, C++, or Node.js, there are already libraries available which allow you to skip the gRPC setup yourself.

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 :)

Use Remind101 in iOS app

Is it possible to embed Remind101 within another app? I have googled and haven't had any luck finding any SDKs but thought maybe some here may have had some success with perhaps deeply buried github projects?
This is Natalie from Remind. We don't currently have a public API / SDK available, but are considering offering something in the future. Definitely shoot us an email at contact#remind.com and we'll follow up with you once it's possible to interface with our API, etc. Excited to hear from you! (Note: We do have a widget available that streams a user's sent Remind messages to his/her website or class page.)
It looks like it might be possible to interface with Remind, but it's not entirely clear. There is a ruby gem for communicating with a Remind API (JSON, it seems), but I am unable to find documentation for the API itself. In addition, the ruby gem project seems to have been removed from Remind's Github account, so take that as you will. You might want to reach out to Remind support to ask if it is still possible to communicate with Remind in this way.
If you do wish to attempt communication via the API, I would begin by playing with the Remind101 gem in ruby on your desktop OS X machine first. If you're able to successfully communicate, then you can set about building a native iOS SDK to make the same network calls.
Good luck!

Publish code gallery for dart?

I would like to know is there any forum or google repository where we can publish our dart projects for showcasing or for fun just to exchange opinions other than github or any svn vendors as such.
Since all major platform vendors have this feature.
If yes would request someone to point me in the right direction since I am working on a small simple project and I am interested in just publishing our work just for experiment sake.
Check out http://www.builtwithdart.com - which aims to be a showcase of community contributed Dart apps.
To contribute pick from the following options:
clone, edit and submit a pull request at the site's github
open an issue at the site's github
Ping me a message
Ideally contributors would be able to provide a screenshot, a G+ link, and a paragraph or two about the app - especially welcome are any notes you have about developing it using Dart.
This is what we have: http://www.dartlang.org/samples/. Other projects that use Google technologies are showcased on https://developers.google.com/showcase/, but Dart has its own site. http://www.dartlang.org/samples/ already has some third-party contributions. If we get a lot more, we can do more to showcase them. It'd also be great to showcase a bunch of cool apps at Google I/O, especially if they're large and in production or if they're particularly cool technologically. If you're working on those sorts of things, you can either send me email, leave me a comment, or post to the Dart mailing list. Thanks!

Is there a Delphi implementation of Google Data APIs?

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.

Resources