Developer Help

If you need some help developing Siri commands using GoogolPlex, this page will likely help answer your questions! If you require more assistance, feel free to email us at patel.ajay285@gmail.com.

What is GoogolPlex?

GoogolPlex is a hack that allows for third-party integration with Siri. GoogolPlex allows users to access third-party functionality with platforms and services like Spotify, Philips Hue, and Tesla, all through Siri. We've built a open platform and online IDE where developers like you can develop commands.

How do users setup GoogolPlex? Do they need to jailbreak or download anything?

Nope! You don't have to jailbreak or download anything. Setup is super simple and it only takes 30 seconds. Here's how you set up.

How does it work?

GoogolPlex uses a man-in-the-middle exploit to intercept the signal between Siri and Google and redirect to our GoogolPlex server. The GoogolPlex server uses Natural Language Processing to process the text and determine what to do. If you want to learn more, check out a blog post we wrote explaining the technical details behind the hack.

What third-party integrations are already built into the GoogolPlex platform?

We, the GoogolPlex developers, have already developed third-party integration allowing users to access Philips Hue, Tesla, and Spotify functionality.

Sounds cool. So how do I develop commands for the platform?

You can create a command by giving some Javascript code that will execute client-side when the user says something. When the user says a specific phrase that matches one of your phrase-matchers, GoogolPlex will execute the Javascript that you wrote. This platform allows for an unlimited amount of possibilities with Siri, and we're excited to see what developers come up with. Get started by logging in to your GoogolPlex Panel.

Can I see any examples?

Yes, every account comes with sample commands! Just click edit to see their source code!

What if what I'm trying to do can't be accomplished in Javascript?

No worries, you can do more advanced things like run PHP, Python, etc. code by using the "respondWithOpenURL(url)" function. You can "respondWithOpenURL(yoursite.com/advancedcode.php)" for example and run some PHP or Python code to accomplish more advanced things.

How should I name a command?

Naming is important because it's how the general public who doesn't code will understand your command. If you want the public to add your command, make sure to name it something that helps them understand what it does. For example, if you were developing the Spotify command, you might name it "Spotify - Play a song."

What are phrase matchers?

Phrase matchers are the phrases for which your command works with. For example, "turn off the lights". The tilde (~) can be used like a wildcard. It is used to represent something that may be variable from phrase to phrase or something you don't care whether is part of the phrase or not. For example, "play ~ by ~" will match both "play radioactive by imagine dragons" and "play let it be by the beatles".
Note: These matchings are case-insensitive.

How can I release my command to the public to use?

By default, all commands are public. We will look through built commands and put the coolest on the "Featured Commands" page that all users have access to. Of course, we will give you credit! If you want to make your command private, you can do so by going to your commands page and designating so.

Can I edit what the user sees onscreen after the command finishes?

Yep, this is what our Response API Functions are for. We've provided you with functions like respondWithText() that you can use in the GoogolPlex panel to display text to the user when the command finishes. Go to the GoogolPlex panel, click "edit" for a command, and look at the right sidebar to learn more.

What are settings?

Let's say your code needs the user's Twitter username and password. This is different for each user. So how do you "ask" each individual user of your Siri command for their username and password? You use settings for example if you put this in your code:

			var username = "{{SETTING: Twitter Username}}";
			var password = "{{SETTING: Twitter Password}}";
		
Now when the user installs your command, they can enter their configure the settings on their Command Settings page. Then our system will automatically replace their username and password once they type it in on that page, and put it in your code:

			var username = "Bob";
			var password = "123456";
		

How can I test/debug commands that I'm working on?

We've built a Simulator that allows you to enter text and see what command GoogolPlex executes. It also has useful tool to analyze what is going on in the background like a console. Use this to test if your phrase-matchers and code are working correctly!



Created by The Four Loop


Contact us at patel.ajay285@gmail.com