Google Express Sand box environment - google-apis-explorer

I am trying to integrate the Google Express with my Magento store. Whenever the user placed an order in GE, I need to pull that data and create the corresponding order in my Magento application. I am using the information from https://developers.google.com/shopping-content/v2/reference/v2/orders/list to get the order list. But before that I want know is there any test/sand-box environment available for listing my products in GE and able to place a test order?

Try this URL for the Sandbox mode access to the API:
https://developers.google.com/apis-explorer/#s/content/v2sandbox/content.orders.list

Related

Simple Esri/ArcGIS Online connection using a link or iframe

I was asked by a potential client if I can have my software interact with Esri/ArcGIS Online.
Use case: users is logged into SomeRandomSoftwareApp and is looking at a Widget, this Widget includes an Esri asset id, the user clicks a link that passes that ID to Esri/ArcGIS Online and behind the scenes the user is logged into Esri and they see the data associated with the Esri/ArcGIS Online.
Thanks, Keith
If I understand correctly, you have two options for this: API Keys or Application Credentials.
The first one, is a permanent token generated by the owner of the data that will allow the application easy access to it. This is still in beta, and it was not ready for use the last time I check some time ago.
The second one, the owner of the data will generate credentials for your application. With this credentials you will have to request a token each time you want to access the data, all this via OAuth 2.0.
Check the docs for more details ArcGIS Services - Security

Pass Mediawiki "wgUserName" to Google Tag Manager

I have an install of Mediawiki for my company which I have tracking page activity currently, but I also want to be able to track page activity per user.
Ideally, I'd like to pass the wgUserName into Google Tag Manager as the userid that Google Analytics sees.
How can I pass the wgUserName into the data layer from the wiki? I just need to get that into Tag Manager.
Thanks!
I don't think you'll need the data layer for this, according to https://www.mediawiki.org/wiki/Manual:Interface/JavaScript
You can access the config via: mw.config and the value for "wgUserName" can be found with "mw.config.get("wgUserName")"
Thus all you need to do in GTM is create a Custom JavaScript variable and reference it:

How to send back data to a server in a PWA website

I've searched and I can only find tutorials to pull info from a server to update the latest info of my PWA app using JSON. But I can't find any way and any example to fetch data back to a server to mantain for instance a Database updated and display that to all users which may use that PWA.
For example, I have a PWA that let me login (client-server communication), then it displays a list of contacts that were stored in a Database. I can delete, modify or add new users to this list from my PWA app, and after doing that, they'll update on my server Database, so if my friend Paul, wants to check the updated list from his account, he'll see the new changes.
How Can I do that? Which language would I have to use, php and Javascript (Ajax)? Which is the most fluid and optimized way to do it according to a Progressive Web App.
I guess you are trying to store user changes back to the server(webservice and then to the data base).
You have to make an AJAX call to your web service and pass the required data needed to store in DB.
Here is an example.
https://www.w3schools.com/xml/xml_http.asp
Depending on the framework you are using, you might have more options to call a web service. Like here is an example for Angular -> https://www.w3schools.com/angular/angular_http.asp

windows phone 8.1 app registration through facebook

I want to integrate facebook login in my app for registration i am following this link but not able to understand how to get the Windows Store ID in step 1.2.. can anyone please help..
Have you tried to put the code
Uri _callbackUri = WebAuthenticationBroker.GetCurrentApplicationCallbackUri();
somewhere in your app, for example at the end of App.OnLaunched() method, then put a breakpoint after it, run the app and examine the returned value.
So the windows store id can be retrieved in two ways. One is programatically by calling this method
Uri _callbackUri = WebAuthenticationBroker.GetCurrentApplicationCallbackUri();
And the other way is to login to your microsoft account which you would have registered in dev.windows.com then perfom the following steps
Navigate to dashboard.
Select the app for which you want to integrate the FB login.(If you haven't registered an app in this account yet then I recommend you do it. Because once you do that and login via Visual studio the above mentioned URI method will return same store Id)
Then navigate to that app and on the left you will see a options like Acquistions,Analytics etc. there click on App Management and inside that click on App Identity.
In the app identity page you can find a field name Package SID which is your store id.
Hope this helps!

Box.Net users-on-behalf-of-enterprise-user working

In Box developer document they ask to contact them with the API key generated.
Reference:
http://developers.box.com/docs/#users-on-behalf-of-enterprise-user
Is there is any api(Java) to get the other users mail box with the admin credential.
The primary purpose of "on-behalf-of" is to make calls on behalf of your company's users as an administrator. A great use case is if you'd like to prepopulate your new hire's account with a set of folders before they start on day 1.
In order to get the listing of enterprise users in your account, you would use the following API call if you are an administrator: http://developers.box.com/docs/#users-get-all-the-users-in-an-enterprise. This is currently not built into the Java SDK, but it is open source if you want to submit a pull request to it to add the functionality.