Adding google drive integration for user signup [closed] - swift

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I was wanting to start creating an app for users to store files into their drive acc.
I was looking at Google's API here GoogleAPIClientForREST.podspec
I have created a pod file etc. However can someone tell me if I need the whole API file or just certain parts?
Also I see that this is GSuite related (as in I found it through here:
G Suite APIs for iOS), though this was the only way to access the API.
Do I have to pay for the API access?
Like paying for GSuite?

Its best to not pick apart the file until you actually know what its doing. A lot of these libraries are interwoven. That being said. The APIs themselves are normally standalone. So if you are not going to be using all of the apis you should be able to remove them.
These for example
s.subspec 'Books' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/Books/*.{h,m}'
end
s.subspec 'Calendar' do |sp|
sp.dependency 'GoogleAPIClientForREST/Core'
sp.source_files = 'Source/GeneratedServices/Calendar/*.{h,m}'
end
I have personally never tried to remove them. I suggest you start with one or two and work your way down.
No you don't need to pay to access google drive api. The code for Gsuite should be the same unless you are looking at something that has domain wide delegation set up.

Related

How to make action "What's the Geology here"? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I would like to make an action where people can ask the geology at a/their location.
This would make use of GET requests from web services which are made available through the OneGeology Geoportal (http://portal.onegeology.org/OnegeologyGlobal/)
GET requests look like:
http://portal.onegeology.org/OnegeologyGlobal/proxyxml?url=https%3A//gs-seamless.geoscience.nsw.gov.au/geoserver/onegeology/ows%3FSERVICE%3DWMS%26SERVICE%3DWMS%26VERSION%3D1.3.0%26REQUEST%3DGetFeatureInfo%26FORMAT%3Dimage%252Fpng%26TRANSPARENT%3Dtrue%26QUERY_LAYERS%3Dau_nsw_25k_geounits%26LAYERS%3Dau_nsw_25k_geounits%26INFO_FORMAT%3Dtext%252Fhtml%26I%3D50%26J%3D50%26CRS%3DEPSG%253A4326%26STYLES%3D%26WIDTH%3D101%26HEIGHT%3D101%26BBOX%3D-33.689918518066406%252C150.75199127197266%252C-33.620567321777344%252C150.82134246826172&_=1587457888900
Output is
https://gs-seamless.geoscience.nsw.gov.au/geoserver/onegeology/ows?SERVICE=WMS&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=au_nsw_25k_geounits&LAYERS=au_nsw_25k_geounits&INFO_FORMAT=text%2Fhtml&I=50&J=50&CRS=EPSG%3A4326&STYLES=&WIDTH=101&HEIGHT=101&BBOX=-33.689918518066406%2C150.75199127197266%2C-33.620567321777344%2C150.82134246826172
Geoserver GetFeatureInfo output
So would want GA to respond with the "unit_name" attribute = "Londonderry Clay" .
Could someone point me in the right direction to develop such a service?
Would it be simplier if I made a mobile app version of the portal first? Or do I need to make a custom action via Dialogflow from stratch? or a 3rd way?
Well, what would be easier is to work with technologies that you're already familiar with.
Are you familiar with mobile programming? Go that route, although it will be more difficult to integrate voice for other Assistant platforms later.
Understand web programming more and you're used to building back-end services? Building a fulfillment webhook that makes this call from parameters from Dialogflow might be easier.
If you want to learn how this is typically done, and not necessarily go with what's easiest for you, you'll want to go the latter route. This involves
Designing the conversation
Building this conversation in Dialogflow
The specific procedures involved to get user information including specific location
Building a webhook running on a server to process the user input, including their location, making the call to the API, and returning the response to the user

Get data of website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'd like to get the data of a website. I'd like to display the table in an app. Do you have an idea how I could do it? Thanks for your answers!
Usually, you'd want the maintainer of the data you need to supply some API for machine-to-machine communication (a REST JSON web service, for example).
Since you are asking how to display the table in an app:
the easiest way would be to just point an UIWebView that way and go from there.
a more native look might be acomplished by parsing the data. As you included several 'parsing' tags, I guess this is what you'd prefer.
The problem with HTML scraping web pages (what you probably hope to do) is that the data you are looking for and foremost it's structure is prune to changes. If some unexpected changes can easily break your parser.
Thus, if you go for doing that (which might be prohibited by your school or other publisher, especially in germany), try to parse the data on your server and offer an web service for your app yourself. This way, you can react to changes of the structure faster and do not break the app for your users.
Seriously consider asking the school for an API.

Is Facebook capable to read through MS Access database before input? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How can I set up a business facebook page that when a user enters an email it will run through the company's database and ensure they are not already there before inputting the information into the database. I would like it to display a message to the user like, "Thanks you are already registered with us". I also need it to allow the user to still have access to the page. Sorry if this seems basic, but I have spent quite a while researching this and I believe it would be putting additional code in the authentication part, but I haven't been able to figure it out. Thanks!
Jennifer
Yes - you are correct - the functionality you are looking for would require additional authentication code in the form of server-side scripts. Only in that way would you be able to authenticate your users by cross referencing username/password or email values in your company's database.
If you yourself are a programmer then I would recommend looking into PHP for the server-side scripting and a mysql database (if the database does not already exist in another form - cringe).
Both PHP and mysql are free to use and there is a large knowledge base on the internet.
Here are some links to get you started.
Don't be afraid to jump in - the water is lovely :P
Basic PHP Tutorial from Zend
Basic Mysql Tutorial from Tizag
Good luck and happy coding!

What do I need to set up my web app to accept input via email and sms? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm trying to enable some basic commands via email. Currently I have shared hosting accounts with shell access at dreamhost and site5. I usually use php/drupal, but am open to other options. I found this question, but I'm looking for something more basic: what do I need to configure where to create a hello world app that responds to email? Are there (free) services out there that will make the basic set up easier? I'm pretty open to using any kind of email address, since this is for a personal project at the moment....
For email, it would be pretty easy to setup a cron job that pulls in email via POP3, then loops through and responds to them.
For example, you could do it with a Python script using the poplib (http://docs.python.org/library/poplib.html) library. Then just have cron call your script every 5 minutes.
I have no affiliation with this company, but Twilio (http://www.twilio.com/sms) provides services and a simple API for a lot of this sort of thing. I've never used it, but it looks like the answer to many people's prayers, so well done them.

How to use Paypal from a desktop application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is it possible to collect billing information and send it to Paypal from a desktop application the same way a webpage normally would?
Paypal uses the HTTP protocol to communicate. As long as you use that with your desktop application, it will work.
As you can see from this Sample Code page, they are simply using apis to make HTTP Requests (cURL for the php example) to the paypal servers.
Not sure if this comes in too late for you, but it might help others looking around for similar functionality. I had also been looking around for a way that could let me search through paypal transactions and give me exact numbers about sales and sold products. Then I found PaySketch, which I have been using for a while now, and it has become a part of my schedule to (re)organize marketing and sales efforts based on statistics that I get from the app. I would say that it is a must have for every vendor selling things using paypal
You can also try developing an adobe AIR application. The application will be platform independant. You can read more here.
If you want to track your Paypal account from desktop, you can try Putler. It won't let you accept new payments on the desktop, but can show you insightful reports.