Discuss Scratch

The_Grits
Scratcher
1000+ posts

Scratch Mail-Email?

Just wondering if it is possible to create an API that checks my Scratch mail, then sends me an email with the number of messages waiting for me. Any ideas?


nXIII
Scratcher
1000+ posts

Scratch Mail-Email?

There isn't a nice way to do that. You can log in with your script and then poll /messages/ajax/get-message-count/, and that's about it.

nXIII · GitHub
The_Grits
Scratcher
1000+ posts

Scratch Mail-Email?

Oh, that's too bad.


PullJosh
Scratcher
1000+ posts

Scratch Mail-Email?

Yeah, no rss. That's one thing I liked about the 1.x website. If anyone figures it out, that'd be awesome!
The_Grits
Scratcher
1000+ posts

Scratch Mail-Email?

Perhaps we could use Python? You know, with GET? Does that spark any ideas?


nXIII
Scratcher
1000+ posts

Scratch Mail-Email?

The_Grits wrote:

Perhaps we could use Python? You know, with GET? Does that spark any ideas?

nXIII wrote:

You can log in with your script and then poll /messages/ajax/get-message-count/, and that's about it.

nXIII · GitHub
DigiTechs
Scratcher
500+ posts

Scratch Mail-Email?

nXIII wrote:

The_Grits wrote:

Perhaps we could use Python? You know, with GET? Does that spark any ideas?

nXIII wrote:

You can log in with your script and then poll /messages/ajax/get-message-count/, and that's about it.
Or we could parse the HTML of the message page. But that must be a nightmare to do :S

EDIT: okay, where did the confused emoticon go?

Last edited by DigiTechs (March 20, 2014 10:45:58)


I do, in fact, have my own site; it's here.
I'm also working on a thing called Fetch. Look at it here!
@thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain. @thisandagain pls explain.
The_Grits
Scratcher
1000+ posts

Scratch Mail-Email?

nXIII wrote:

The_Grits wrote:

Perhaps we could use Python? You know, with GET? Does that spark any ideas?

nXIII wrote:

You can log in with your script and then poll /messages/ajax/get-message-count/, and that's about it.
Didn't see that get in your comment. But I am researching the possible solutions.


jcurrier
New to Scratch
1 post

Scratch Mail-Email?

I don't know what you're talking about. Is there an email for scratch if we need help like help@scratch.mit.edu?
GrannyCookies
Scratcher
100+ posts

Scratch Mail-Email?

jcurrier wrote:

I don't know what you're talking about. Is there an email for scratch if we need help like help@scratch.mit.edu?
He means to tell him he has a message.

The_Grits
Scratcher
1000+ posts

Scratch Mail-Email?

jcurrier wrote:

I don't know what you're talking about. Is there an email for scratch if we need help like help@scratch.mit.edu?
What I am talking about is making a Python script that returns the number of messages I have waiting for me.


Blueinkproductions
Scratcher
1000+ posts

Scratch Mail-Email?

This would be helpful.

Generation 2: 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.
____                  _____  _______              
| \ | | | | | |\ | | /
|___/ | | | |__ | | \ | |/
| \ | | | | | | \ | |\
| | | | | | | | \ | | \
|___/ L____ \___/ |_____ ___|___ | \| | \
PRODUCTIONS





















































Here's a hint: support = support.

<shameless self promotion>follow me! follow me! follow me! love my stuff! love my stuff! love my stuff! follow me! love my stuff! remix my stuff! follow me! follow me! </shameless self promotion>

Powered by DjangoBB