In my app i want to allow the user to backup the data to google docs. All my data were stored in sqlite file. How can i backup this data?
I looked in the Google API's page dedicated for mobiles, and I was unable to find out how to connect to google docs. Any help is appreciated.
there are two way to do this .. one is using soap web service(Passing XML) and another one is called rest service (Passing URL) for accessing APi. First hit the login API using google account. later use XML or to do Remaining work.
I have converted the sql file to pdf file(Google doc supported file format) for storing in Google doc. For restore, i have download the same file and converted it to sql. I used Google API and follows the steps as in this blog.
Thanks for your help.
Related
Is there a way to do this via the admin SDK? I am able to do this via the client SDK. I am baffled as to why admin SDK seems to lack many features that clients have. How do I get storage reference using a download URL in admin?
The Firebase Admin SDK for Storage is a fairly thin wrapper around the Google Cloud Storage SDK for that platform, mostly providing auto-initialization of the default bucket that Firebase uses. It does not expose any Firebase-specific functionality, such as mapping from download URLs back to a path in the bucket.
It's a valid request though, so you could file a feature request.
I am new to app/web dev and firebase. I am just trying to understand the firestore and want to use it for my app and website. I am aware of firebase hosting, but would I be able to host it somewhere else(ex. Hostgator or some other site) and still connect to the firestore? Or will it only work if I use firebase hosting for my website? Any feedback would be helpful.
I am new to understanding firebase, so I apologize for the really basic question.
Yes, this is possible. You'll just need to use one of Firebase's Javascript SDK options to connect to your firebase storage instance. Simply load these on your website's client or server side depending on your use case, and use the commands found in the linked documentation to interface with Firebase.
I need to access the active version on SAP Cloud Platform of HTML5 apps through an api.
I know for the java apps you have the lifecycle api: doc
But you can't access HTML5 information with this API.
What I found is this service: https://account.hana.ondemand.com/ajax/getHtml5AppDetails/{subaccountName}/{appName}
This will return a JSON string with the required info, but I'm not authorized to access this page, although I have all the possible admin rights.
So I'm wondering If any of you has any idea to solve my issue, and other people's issues.
Well, we needed something similar and used this kinda hack to get the active versions via WebIde Api (need basic Auth to login) replace XXXX with your account
https://webide-XXXX.dispatcher.hana.ondemand.com/api/html5api/accounts/XXXXX/applications
You get back a json array with all your applications of that sub account, including active version and other interesting information
Hope it helps ;))
Regards Mathias
You could create a HTTP Proxy Servlet based on https://github.com/SAP/cloud-connectivityproxy that provides read only access to https://dispatcher.hanatrial.ondemand.com/hcproxy/b/api/accounts/<subaccount>/applications/<app> for your app.
Is there a way to upload data (for example points/routes) to openstreetmap via javascript?
I develop a mobile application, where the users could upload some kinds of data to openstreetmap. I would like to create my own editor for this (to be able to restrict the kind of data uploaded, and to provide a user friendly mobile solution).
Can it be done?
Thanks.
Sure, why not? The OpenStreetMap API is based on simple HTTP requests. First you need to authenticate yourself using an user name and password or via OAuth. Then you can upload new changesets.
Note that each of your users will need an OSM account in order to upload data.
I'm trying to use Google's Webmaster Tools API to download a CSV file of recent search queries.
I know how to do that using their Python example at http://googlewebmastercentral.blogspot.com/2011/12/download-search-queries-data-using.html
But I want to use OAUTH2.
Here's the problem: The download url for CSV downloads is:
/webmasters/tools/downloads-list?hl=%s&siteUrl=%s
But the Google data API only lets me use OAUTH2 against:
/webmasters/tools/feeds/sites/
So the token I get when I authenticate doesn't provide access.
It SEEMS insane that they'd have some of their data available via OAUTH2 and some of it only using username/password.
Does anyone know a request URI I can use to download the query report via OAUTH2? Or is this API as nuts as it seems?
My $.02 would be "yes, it IS as nuts as it seems."
If you look at the Google APIs Console (https://code.google.com/apis/console) the Webmaster Tools API is conspicuously absent.
I attempted to go down the same road & use OATH2 for the GWT API & was not able to make it work. Using the 'basic authentication' was the only solution.
edit April 2015: basic authentication has been withdrawn by Google and no longer works
I just ran into this, I am shure it has to be possible with OAuth2, corresponding to this sentence:
Activate the Google Site Verification API in the Services pane of the Google APIs Console. (If it isn't listed in the Console, then skip this step.)
https://developers.google.com/site-verification/v1/getting_started