Java Google Cloud Endpoints tutorial api not appearing in viewer - java

I'm just starting to learn endpoints so I am following along with the Java tutorial on the app engine website. I'm writing the get method here but at the part where I run the server and visit http://localhost:8080/_ah/api/explorer nothing shows up. It says that the Dev App Server is running fine and I have copied and pasted the code directly. Where do I start finding out what is wrong? Thanks
Edit: It also seems to not be showing me the api when I use the eclipse plugin to auto generate the backend.

did you try the tic tac toe example from Google? I had the same issue. However, for me it was patience, after a minute or 2, the API showed up.

Try this: http://localhost:8080/_ah/api/discovery/v1/apis
I also got the same problem when I was following the official tutorial. Later I found the answer from here: RESTful CRUD APIs with AppEngine, Cloud Endpoints and Dart code generation

Related

worldwind java documentation and set up instructions

I am trying to understand NASA world wind java application. The developer guide in the website is not loading saying server down. Anywhere I can get the developer's guide for the java application. If possible, the setup instructions would be helpful as well.
Developer guide for WorldWindJava is hosted on https://goworldwind.org (which seems it was unavailable temporarily). Link mentioned by you actually gets its content for developer guide tab from https://goworldwind.org. It is now available: https://worldwind.arc.nasa.gov/index.html?root=java&javatopic=guide

How to put Unity webapp on Google app engine

I have completed an mini game by unity, named "penguins_test".
I have exported 2 files:
penguins_test.html
penguins_test.unity3d
And now, I want to use Google App Engine service to host as a server.
So user can go to website like, "http://penguins_test.appspot.com", to play the game.
However, I am new with the service and the user interface look very complicated.
Can anyone help me to achieve the goal?
Or any online tutorial can teach me to do this?
I prefer to use php or python as the web programming language, or java can be an alternative if it can help to solve the problem.
Please help! Thanks
To run your application on App Engine,first you have to download the Google AppEngine SDK to your local machine and before that to need to register your self with App Engine. Go through to the link [1]. You can create your application in Python, Java, Php and GO. But I prefer to go through Python or Java. You can find the tutorials on links [2][3].
You just follow the docs, and I hope you will be able to deploy you application on appspot.com. Also refer to the pricing of the Instances you will run on Google Cloud [4].
[1] https://cloud.google.com/appengine/docs
[2] Python: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction
[3] Java: https://cloud.google.com/appengine/docs/java/gettingstarted/introduction
[4] Google Pricing: https://cloud.google.com/pricing/
There was a very similar question asked on the unity forums (link attached ) . Hope it answers your question!

Google Analytics API DataQuery object

I am new to Java and to the Google Analytics API. I am using Eclipse Kepler Service Release 1. I want to write a small console program in java that will read the output from another program(Start Date and End Date) from a console and query Google Analytics to return some Event Labels and write them to a csv.
I am having trouble getting started though. Google's getting started tutorial is not that helpful and also I can't figure out how to add jars from the API to my solution. I'm trying to use a DataQuery object because that is how the tutorial suggests you start, but I am pretty sure the object is not in any of the jar files that come with the Google Analytics API.
I think they are in the Core Reporting API. I installed the Google API plugin for eclipse but the Core Reporting API is not listed and I cannot find a download for it online.
Does anyone know how to download the Core Reporting API or if this is even the correct place to start?
Does anyone have any good examples of a Java program that does something similar that they are willing to share?
This tutorial of google having full java example you can customize it for different data queries
https://developers.google.com/analytics/devguides/reporting/core/v2/gdataJava
This is query explorer tool provided by google
http://ga-dev-tools.appspot.com/explorer/

how to call a google app script from google app engine for java

I have a google app script which I want to invoke from the Google App Engine for Java. Can someone please guide on how to invoke such a script?
I tried to Google this and found only lots of information on how to do the reverse.
Please advise.
I had the same question 6 months ago. I could solve my problem using script timers.
But maybe this will work. I did not test it yet. You can publish an apps script as a service. That's part of working with the GUI.
See f.i. this totorial : http://code.google.com/googleapps/appsscript/articles/twitter_tutorial.html
My idea is that you make a request to this service from app engine with urlfetch.
I did not test this, but I think it can work.
See als this post from Henrique :
http://www.google.com/support/forum/p/apps-script/thread?tid=3c339ede3f4e4afb&hl=en
Let me know if you solved your problem.

Facebook API and Facebook Connect using Java?

New to Facebook API and Facebook Connect.
Found the Facebook Java API open source library on Google Code...
I am really excited that there's an API pre-written in Java for it!
Am interested in writing a server side Java layer which uses REST to be able to access a user’s Facebook Friends List, their wall, send them messages in-network, etc.
Downloaded the binary and unfortunately, I haven't found any sample or demo code when I unzipped it...
Question(s):
(1) Does this library support Facebook Connect?
(2) What is the best way to get start using Facebook Connect with server side Java?
(3) Since I am building middleware, do I still have to create a sample app on the online Facebook Developer page?
(4) What should I include in my (am a newbie in Maven) pom.xml in order to get started?
Use RestFB, that seems to be the inofficial FB Java Api:
http://restfb.com/
(There is no official FB Java Api anymore)
As far as I know, that library is broken. I couldn't get authentication to work with the latest version.
In my search for alternatives i found the "TinyFBTagLibrary" http://www.socialjava.com/ --
Yes, it requires just about a billion extra libraries to run, but it offers a simple way to execute facebook API calls in java that ISNT BROKEN (once again, as far as I know). My advice is to ignore all of the predefined tags for use in jsp and scroll down to the bottom to see how to use the TinyFBClient.call/getResponse when you need to get information.

Categories

Resources