Permalink
Switch branches/tags
Nothing to show
Commits on Oct 6, 2011
  1. Add more depluralizations types

    fmoo committed Oct 6, 2011
    I was missing batterfly, pile, and bog.  Thanks Stephen Friend!
Commits on Aug 14, 2011
  1. [scripts] script to output when the day will end

    fmoo committed Aug 14, 2011
    Sample output:
    
      > python scripts/nextday.py
      Widdershins 8 will be over in 1:32:36
Commits on Aug 10, 2011
  1. [doc] Updated docs for undocumented methods

    fmoo committed Aug 10, 2011
    Figured out how to set search term for auctions.search()  Also, cleaned up
    formatting the examples, adding "required role" for each one.
  2. [api] Throw error object if ok == 0

    fmoo committed Aug 10, 2011
    If "ok" is 0, throw an exception instead of returning the decoded
    json.  The exception it returns stringifies nicely by default and
    exposes the response object as an attribute (.response) on the exception
    instance.  You can also access the details of the decoded json by
    examining the .content attribute
  3. [doc] Add a doc describing undocumented/secret API methods

    fmoo committed Aug 10, 2011
    There are some secret API methods in glitch.  Some are used by the
    flash app, some are used by the internal docs tool, and some are
    used internally on the website.
    
    Some of them require a special 'site' role, that you can't get via
    the oauth APIs and are used by the site internally.
Commits on Aug 1, 2011
  1. Fix markdown

    fmoo committed Aug 1, 2011
  2. Add a readme.md for github

    fmoo committed Aug 1, 2011
  3. [datetime] GlitchDateTime improvements

    fmoo committed Aug 1, 2011
    Add monthname attributes to GlitchDateTime instances
    Truncate hour, minute, second, and year to the nearest int
  4. [appengine] Add session support

    fmoo committed Aug 1, 2011
Commits on Jul 31, 2011
  1. [gitignore] Hide vim swap files

    fmoo committed Jul 31, 2011
  2. [site] add a site/appengine/ for testing oauth on appengine

    fmoo committed Jul 31, 2011
    I've added appengine/ to a new site/ top-level folder that I'm using
    to deploy to http://glitch-python-contrib.appspot.com/; currently, this
    includes some sample code that uses requests+simplejson to implement the
    oauth handshakes.
Commits on Jul 30, 2011
  1. [datetime] Initial implementation of glitch.datetime.GlitchDateTime

    fmoo committed Jul 30, 2011
    Initial implementation.  Attributes are floats when they should be ints.
    
    For now, just int() your attributes.
  2. [scripts] add some scripts that use a persistent cache

    fmoo committed Jul 30, 2011
    Added some scripts, "buildit.py" that scrapes the API location metadata
    into a persistent store.
    
    I added another script "findit.py" that uses the data from the persistent
    store in order to display the parsed features from all the locations.
  3. [models] Add some parsing for street features

    fmoo committed Jul 30, 2011
    scripts/ example to follow, but basically, streetInfo['features']
    encodes things in a really strange way.
    
    This tries to facilitate parsing out shrines, shops, resources, etc
    from the strings it returns
  4. [api] return content instead of requests.Request instance

    fmoo committed Jul 30, 2011
    I'm bumping the rev to 0.2 since this breaks compatibility with the
    prior release.
    
    Now, API calls return the decoded JSON object instead of the
    Response object with the content attribute.
  5. [api] Use functool.partial instead of _ProxyCall.__call__()

    fmoo committed Jul 30, 2011
    functools.partial() does the heavy lifting for us; use this instead of
    creating a custom class
Commits on Jul 29, 2011
  1. [scripts] skill learner example

    fmoo committed Jul 29, 2011
    This adds ascript that uses the GlitchAPI to check your skills and
    automatically learn a random new one.  The script also gives examples
    of potentially how one could subclass the GlitchAPI instance to augment
    functionality / make the API cleaner to use.
  2. Initial Commit

    fmoo committed Jul 29, 2011
    Initial commit of the glitch API.  Requires you to do the oauth bit yourself,
    passing the access token to the constructor of glitch.GlitchAPI.