Discuss Scratch
- Discussion Forums
- » Developing Scratch Extensions
- » Google APIs
- 8discobusy
- Scratcher
98 posts
Google APIs
I know this might be a bit difficult but I'm wondering if an extension can connect a project to google services such as google play games or gmail?
- Znapi
- Scratcher
500+ posts
Google APIs
Someone has connected an extension to the Google Feed API. The extension is called FeedMe, if you want to look at the source, so I'm sure it's possible.
Here's a ScratchX link:
http://scratchx.org/?url=http://thepuzzlegame.github.io/extensions/feedme.js#scratch
Here's a ScratchX link:
http://scratchx.org/?url=http://thepuzzlegame.github.io/extensions/feedme.js#scratch
Last edited by Znapi (June 3, 2015 13:50:37)
- Jonathan50
- Scratcher
1000+ posts
Google APIs
You can send HTTP requests using AJAX I know this might be a bit difficult but I'm wondering if an extension can connect a project to google services such as google play games or gmail?
That may work depending on Google
Not yet a Knight of the Mu Calculus.
- masterex1000
- Scratcher
68 posts
Google APIs
i guess you could use the drive API if you wan't. But you will need to put the entire drive API into your code.
Generation 379: the first time you see this copy and paste it on top of your sig in the scratch forums and increase generation by 1. Social experiment.
- Jonathan50
- Scratcher
1000+ posts
Google APIs
No… i guess you could use the drive API if you wan't. But you will need to put the entire drive API into your code.
Not yet a Knight of the Mu Calculus.
- powerpoint56
- Scratcher
1000+ posts
Google APIs
Yes, that was me, except it looks like the API is now deprecated. Someone has connected an extension to the Google Feed API. The extension is called FeedMe, if you want to look at the source, so I'm sure it's possible.
Here's a ScratchX link:
http://scratchx.org/?url=http://thepuzzlegame.github.io/extensions/feedme.js#scratch
- ChocolatePi
- Scratcher
1000+ posts
Google APIs
I'm pretty sure it's not called AJAX anymoreYou can send HTTP requests using AJAX I know this might be a bit difficult but I'm wondering if an extension can connect a project to google services such as google play games or gmail?
That may work depending on Google
That was a buzzword from the late 90s if I remember correctly
- liam48D
- Scratcher
1000+ posts
Google APIs
Not called AJAX? What else is it called then?I'm pretty sure it's not called AJAX anymoreYou can send HTTP requests using AJAX I know this might be a bit difficult but I'm wondering if an extension can connect a project to google services such as google play games or gmail?
That may work depending on Google
That was a buzzword from the late 90s if I remember correctly
202e-202e-202e-202e-202e UNI-CODE~~~~~
- Jonathan50
- Scratcher
1000+ posts
Google APIs
Huh?I'm pretty sure it's not called AJAX anymoreYou can send HTTP requests using AJAX I know this might be a bit difficult but I'm wondering if an extension can connect a project to google services such as google play games or gmail?
That may work depending on Google
That was a buzzword from the late 90s if I remember correctly
Not yet a Knight of the Mu Calculus.
- ChocolatePi
- Scratcher
1000+ posts
Google APIs
You don't send requests using anything. You just send requests
- Jonathan50
- Scratcher
1000+ posts
Google APIs
using anything. You just send requestsOk then… You don't send requests
Then send a request to Google.
You could also inject a script into the page:
var googleApiName = document.createElement('script'); googleApiName.src = "http://url/to/google/api.js"; googleApi.onload = function() { ScratchExtensions.register('extension-name', descriptor, ext); } document.body.append(googleApiName);
ScratchExtensions.register('extension-name', descriptor, ext);
(If Google's API is “send a HTTP request” rather than put a script in your page, use AJAX send a request instead)
Last edited by Jonathan50 (Sept. 21, 2015 23:52:44)
Not yet a Knight of the Mu Calculus.
- Joshygator
- Scratcher
1 post
Google APIs
Hello, I am adding a browser to my scratch game, and I was wondering if I could take every search result from google and put it on scratch. I'm a kid and my dad codes for a living, and he says that there is a possibility that I could get the APIs from google and put it in my scratch game, I am wondering if you know how to do that. If you know, please give me a basic answer instead of a complex one because this is all new to me.
-Thanks!!
-Thanks!!
- JoshsAccount
- Scratcher
100+ posts
Google APIs
Necropost - this thread died in 2015
Last edited by JoshsAccount (Feb. 14, 2022 21:37:50)
helo yes am j
when i feel like making stuff :: events hat
make {
brands :: motion
mods :: looks
} :: control loop cap
- Discussion Forums
- » Developing Scratch Extensions
- » Google APIs