Topic

Staff Topic

Glitch API

We're just about ready to start testing access to the glitch API. If you'd like to build something (or already have!), tell us about it!

You can create your API key here: api.glitch.com/keys/

More details: api.glitch.com/#auth
Spec: tools.ietf.org/html/draft-ietf-oauth-v2-13

Posted 22 months ago by Bees! Subscriber! | Permalink

Replies

Previous 1 2 3
  • I'm extremely interested, but just about to disappear (first thing in the morning) for a week with little or no Internet access. I'll post again in a week's time!
    Posted 22 months ago by dopiaza Subscriber! | Permalink
  • So, I should really be heading for bed, but I figure I may as well try to get things set up ready for when I get back.

    Name of your application: Dopiaza's Glitch Things (can I change that later?)
    Redirect URI: www.dopiaza.org/glitch/auth/

    And can I have a second one for local dev/testing:

    Redirect URI: dopiaza.local/glitch/auth/

    What does a scope of "read" mean? For example, auctions.create and skills.learn sound like a "write" to me...
    Posted 22 months ago by dopiaza Subscriber! | Permalink
  • Scopes have not been properly set up yet. While we're still testing OAuth, only read-only methods will be available.

    You'll be able to manage your client IDs later on, including changing the title and redirect URIs.
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • There's some script in here using the API: alpha.glitch.com/forum/idea...
    Posted 22 months ago by RobotGymnast Subscriber! | Permalink
  • Yeah, I'm really interested, but I don't have much time at the moment - I already missed the last couple of tests...
    Posted 22 months ago by Rikk Subscriber! | Permalink
  • I have no time right now, but what the hell. Would be a good break from what I'm working on.

    App name: MrGlass' Wild Ride
    Redirect URI: yair.silbermintz.com/glitch...
    Posted 22 months ago by MrGlass Subscriber! | Permalink
  • Hi there.

    Name of your application: Glitch Api Test
    Redirect URI: www.mirror7.com/glitch/oauth/
    Posted 22 months ago by Ghunti Subscriber! | Permalink
  • I've issued three client IDs (to dopiaza, MrGlass and Ghunti). Let me know if you got them OK and whether you can get it working!

    [edit] I've also added some auth demos to the documentation with example code.
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • Thanks Cal - that works a treat!

    I found myself with an unexpected WiFi connection and a spare hour or so, so with a little help from your sample code, I got everything working pretty easily.

    See the two apps at:

    www.dopiaza.org/glitch/show...
    www.dopiaza.org/glitch/wher...
    Posted 22 months ago by dopiaza Subscriber! | Permalink
  • So can I get another id now, for my next project (currently in development)?

    Name: Glitch Inventory for iPad
    RedirectURI: dopiazaglitchinventory://auth/
    Posted 22 months ago by dopiaza Subscriber! | Permalink
  • If we can use it when the game is off, I'll spend some time on something.

    Name: Glitch API Tests for Rikk
    RedirectURI: jaggedseam.com/glitch/auth
    Posted 22 months ago by Rikk Subscriber! | Permalink
  • I've created and sent those - you can now see your own keys here: api.alpha.glitch.com/keys/

    From now on I wont be emailing new keys to you - just check on that page once I create them.
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • Can i get one?
    Name: Datagutt glitch api test
    RedirectURI: api.datagutt1.com/glitch/auth
    Posted 22 months ago by datagutt Subscriber! | Permalink
  • Done. It should now be listed on your keys page.
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • I don't have time, but would really like one! Thanks!
    Name: GlitchBook
    RedirectURI: glitch.nathangraves.com/auth/
    Posted 22 months ago by NathanG Subscriber! | Permalink
  • Sorry for posting twice, but, I thought more about the application. If there is any way that I could use the name "Glutt" instead of "GlitchBook", that would be awesome. Same URL.
    Name: Glutt
    RedirectURI: glitch.nathangraves.com/auth/

    Sorry for any inconveniences.
    Posted 22 months ago by NathanG Subscriber! | Permalink
  • Would love to play around with this.

    Name: Glitchible
    Redirect URI: rizant.com/glitch/auth

    Thanks!
    Posted 22 months ago by Idefix Subscriber! | Permalink
  • Done. Check you key pages
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • Oooooh, 'citing! Shall build a skill tree thingy like everyone else ;)

    Name: Glitchzen
    Redirect URI: glitchzen.appspot.com/auth

    \m/
    Posted 22 months ago by RevDanCatt Subscriber! | Permalink
  • Done
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • Bees - What are the rules on graphics use etc? For the alpha do we just use our discretion and you'll formalise T&Cs later? I'm building a blog badge kind of thing and looking at replicating the energy and mood indicators for example.
    Posted 22 months ago by Rikk Subscriber! | Permalink
  • Go ahead: a disclaimer somewhere to the effect that you are not affiliated with Tiny Speck/Glitch and/or that it is not 'official' is good enough.
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • Here we go then - blog badge maker.
    www.jaggedseam.com/glitch/b...

    Please send any ideas on improvements and the like to me - glitch at jaggedseam dot com

    I know it could do with a bit nicer design...
    Posted 22 months ago by Rikk Subscriber! | Permalink
  • Rikk, could you post a pic or two of what the finished badge looks like? Don't wanna risk something for nothing ;)
    Posted 22 months ago by Hburger Subscriber! | Permalink
  • I want to create a link to an auction item (sample link: alpha.glitch.com/auctions/PCRNKRPTCTJ15UQ/4d6dbe4e/ ).
    I know that "PCRNKRPTCTJ15UQ" is the user ID, but, I can't figure out how to get the second part ('4d6dbe4e'). Or, if it is even currently possible. If not, it would be great :D.
    Any thoughts?

    Thanks!
    Posted 22 months ago by NathanG Subscriber! | Permalink
  • You are all amazing and excellent.
    Posted 22 months ago by clare Subscriber! | Permalink
  • the second part seems to be the auction start time in unix time.
    Posted 22 months ago by Jellyfish Subscriber! | Permalink
  • Jellyfish - Your right, I forgot about trying to convert something to hex. thanks!
    Posted 22 months ago by NathanG Subscriber! | Permalink
  • Hburger - see www.jaggedseam.com/glitch/b...

    It still needs some improvement on the asthetics. The risk thing isn't too great, I only have read access to your profile anyway :)
    Posted 22 months ago by Rikk Subscriber! | Permalink
  • Rikk: That's awesome! Players can now see & de-auth any apps from alpha.glitch.com/apps/ (which will be linked from the account page shortly).

    NathanG: the auctions.list method now returns a 'url' param, which should be a little more future-proof.

    The API explorer now tells you about the scopes needed for different methods, allows you to test methods with differently scopeed keys and links to documentations about the different scopes. All of the current API keys are limited to identity/read scopes until I get a few more issues sorted out.
    Posted 22 months ago by Bees! Subscriber! | Permalink
  • Bees: Glad you like it! :)
    Posted 22 months ago by Rikk Subscriber! | Permalink
  • I have finished an early version of my app located here:
    glitch.nathangraves.com/
    My app is "Glutt" - It looks at Auction and finds the best deals based on the "Going Rate".
    There is a lot more features I have in mind to add!

    If you have any comments or ideas, please don't hesitate to e-mail me at glitch @ nathangraves.com

    Bees: Thanks, that should be very helpful! The new API changes defiantly make things more clear! Let me know if there is anything I need to modify on my app to better fit any of Tiny Specks terms.
    Posted 22 months ago by NathanG Subscriber! | Permalink
  • One thought/note - you guys have done a great job getting the Glitch website as a whole to behave well under iOS with Apple's proprietary meta tags, but it looks like the auth pages for the API haven't gotten the same love. Is that likely to happen somewhere down the line?
    Thanks!
    Posted 22 months ago by Idefix Subscriber! | Permalink
  • api auth pages should look a lot better on iOS now :)
    Posted 21 months ago by Bees! Subscriber! | Permalink
  • It looks like the API still works with the beta change.
    But, I am assuming we will need to update our URL's to api.beta.glitch.com or api.glitch.com?
    It looks like it is forwarding it to api.glitch.com, should we update to there?

    Also, are there plans for a, forgive me for saying the overused, 'app store' so we can advertise our applications?
    Thanks!
    Posted 20 months ago by NathanG Subscriber! | Permalink
  • Can I have a key?
    Posted 20 months ago by Lord Tweedmouth Subscriber! | Permalink
  • Does anyone out there know how to integrate API with Dolphin? need to get a sign in service for Glitchbook that links to the Glitch API....i know natheeng about this kind of thing
    Posted 20 months ago by Eldon Kenlon Subscriber! | Permalink
  • May I please have an API key?
    Posted 20 months ago by Double Rainbow Subscriber! | Permalink
  • Are keys still being given out?  Can I have one?
    Posted 20 months ago by Lord Tweedmouth Subscriber! | Permalink
  • I presume they are, but you ought to at least provide the information Cal asked for in his opening post:

    "For now, all I need to set you up is the name of your application and a redirect_uri."
    Posted 20 months ago by dopiaza Subscriber! | Permalink
  • Oh good call dopiaza. Reading is fundamental. :)

    I need to figure out an application name and redirect_uri. Time to ponder...
    Posted 20 months ago by Double Rainbow Subscriber! | Permalink
  • Oh, right.  I'd like an API key.
    redirect_uri: bitsofink.com/glitch
    app name: Glitchdom.
    Posted 20 months ago by Lord Tweedmouth Subscriber! | Permalink
  • Lord Tweedmouth: you can get your key details here: api.glitch.com/keys/

    NathanG: the correct URL for the API (now and forever) is api.glitch.com. there will probably be an app-store like thing in the future, but there are no immediate plans.

    Apps already have a 'details' page like this: beta.glitch.com/apps/5-1988f2/
    Hopefully i'll get around to letting you upload an icon and add a description/url soon. It's been on my todo list a while!
    Posted 20 months ago by Bees! Subscriber! | Permalink
  • I'd like an API key
    redirect_uri: arscelare.com/glitchfoundry
    app name: Glitch Foundry

    Thanks!
    Posted 20 months ago by teuthida Subscriber! | Permalink
  • Thanks, Bees!
    Posted 20 months ago by Lord Tweedmouth Subscriber! | Permalink
  • Bees: Could I get my redirect URL changed from glitch.nathangraves.com/auth/ to feedyourglutt.com/auth/ .  Thanks!
    Sounds great about the app store. I think it is a easy + great way for us to advertise our apps, and so people know they exist.
    Posted 20 months ago by NathanG Subscriber! | Permalink
  • wow like the staff topic tag
    Posted 20 months ago by Alex Subscriber! | Permalink
  • Thank you dopiaza and Nathan, nice apis' ! 
    Posted 20 months ago by gia Subscriber! | Permalink
  • teuthida: done
    nathang: done
    Posted 20 months ago by Bees! Subscriber! | Permalink
  • Please can I get an API key?  Are these permanent?
    Posted 20 months ago by Accy Subscriber! | Permalink
Previous 1 2 3