• GitHub API, take two

    schacon 17 Apr 2009

    A lot of people were excited about the Issues release yesterday, but many asked for an API for it. Because we love you all and you’re so good to us, we released one for you.

    However, in addition to that, we’re opening up the first release of our whole version 2 API, including Repository, User, Commit, Object and Network APIs, with more (including Gist) on the way soon. We’re still working on it, but if you’re brave of heart, please try it out and let us know if you find any issues.

    What’s even better though is we actually created some documentation for it. If you go to develop.github.com, you’ll see a new set of pages that document all the current functionality of our new API.

    If you have requests or find problems with anything, please enter an issue at the develop website projects issue tracker. Also, if you write anything that uses this new API, let us know so we can add your project to our documentation pages.

  • Comments

    justinhernandez Fri Apr 17 20:26:20 -0700 2009

    Right on cool!

    grimen Fri Apr 17 21:22:04 -0700 2009

    o_O

    dpetersen Fri Apr 17 23:20:38 -0700 2009

    You guys have been busy.

    j16sdiz Sat Apr 18 00:07:46 -0700 2009

    > A lot of people were excited about the Issues release yesterday, but many asked for an API for it. Because we love you all and you’re so good to us, we released one for you.

    You wrote it late night?

    suitmymind Sat Apr 18 15:42:43 -0700 2009

    Hello,

    I’ve written a script that allows you to migrate your tickets from Lighthouse to Github using the API : http://suitmymind.com/2009/04/18/move-your-tickets-from-lighthouse-to-github/

    The script is surely not perfect, but I hope I can improve it with your feedback.

    Best, Thomas Balthazar.

    jsmits Sun Apr 19 06:15:05 -0700 2009

    I’ve written a script that allows you to easily access the GitHub Issues API from any git working directory from which the origin is hosted on GitHub. You can list issues, add or edit issues, open and close issues, add and remove labels, all from the command-line. You can find it here: http://github.com/jsmits/github-cli/ Regards, Sander Smits

    bleeder Sun Apr 19 08:58:24 -0700 2009

    Great work you guys :) Should make it real easy to automate back-up of issues, wiki and what have we.

    fcoury Mon Apr 20 21:21:19 -0700 2009

    My gem is out there too: http://github.com/fcoury/octopi

    Great work!

    suitmymind Tue Apr 21 06:16:47 -0700 2009

    Hey,

    The Github API has been updated, it now allows to add comments to issues.
    I've updated my script. It also specifies the number of attachment of
    the original LH ticket.
    Read here for the list of changes :
    http://suitmymind.com/2009/04/18/move-your-tickets-from-lighthouse-to-github/#update

    Feel free to comment/patch/report issues, ...

    Cheers,
    Thomas.

    aslakhellesoy Thu Apr 23 04:55:44 -0700 2009

    This is getting better and better. Still, I want 3 things before making the switch from Lighthouse:

    • Ability to reply to issue comments via email (I use iPhone mail a lot)
    • Syntax highlighting in GFM (pygments?)
    • Attachments (although gists are probably enough)

    Keep up the fantastic work!

    alexdenipaul Mon Sep 14 23:47:08 -0700 2009

    If you, like me, have developed strong feelings towards the geeky hotness that is Git sometime in the last 12 or so months, then you’ve probably also got pretty excited about the convivial oldskool swap meet for Git repos known as Github. If not, please do try to keep up. The first day of the rest of your life begins here credit report.

    For a long list of dumb reasons beginning with the fact I’ve not yet written my own roughly passable blogging engine to replace this shopworn and shabby edifice constructed with Simplelog 2, I am unable to write server-side shenanigans for my homepage and so have taken to Frankensteining it experimentally with concoctions made of HTML5 and jQuery. One of these little monsters shows glimmers of potential and thus is being released into the world to find its destiny customer service.

    I assumed such a badge would already exist. I knew, of course, of Dr Nic’s project-based badge and I quickly discovered the commit badge by Johannes Gilger . The former doesn’t show commits and the latter is targeted at the latest commit of a specific project. Neither of these met my needs in terms of function or code, thus my own Github commit badge project was born!

    How does it work?

    One of the current limitations of the Github API is that it doesn’t provide any methods to gain details about other people’s projects you might be committing to foreclosures. Given a project, you can check that. But given a user, you can’t see what projects belonging to other users they’ve contributed to. Which is at least two thirds of the fun of Github! Luckily, they publish that kind of data in your public activity feed.

    So, given a username, the script calls a specially crafted Yahoo! Pipe that converts Github’s Atom into delicious usable JSONP for processing into a badass little badge for your blog.

    How do I set it up?

    Here’s the juicy bit. Be sure to follow along at home for maximum enjoyment. You can download the files from Github.
    Dependencies

    jQuery 1.2.6 - as you’ll see in the example file personal loans, I just point to those nice folks at Google who are hosting jQuery for me.

    JavaScript Pretty Date - I also grabbed a copy of John Resig’s Pretty Date to save myself long hours in front of the mirror getting ready.

    jasbw524 Tue Oct 06 05:18:05 -0700 2009

    This is very useful API. It can be use for lots of programme. Thank you so much for this nice posting. Watch Weeds Online || Watch House Online

    TobyZ48195 Mon Oct 12 19:29:05 -0700 2009

    I just came across GitHub recently. I'm not a full-on tech head though so I think I'll pass this on to my brother so that he can begin to use it in for an application he's going to work on for our hub. I'd try to figure it out myself, but my son is tearing up the house with his umbrella stroller and I need to put him in lockdown. Seems like that's always the way, so it's time to outsource.

    psdto Tue Oct 20 00:32:44 -0700 2009

    yes people like us eagerly waiting for api key.

    psd to html psd to wordpress psd to Joomla

    adeletwo6789 Sat Oct 31 00:47:37 -0700 2009

    For information and products thesis | theses | thesis writing | buy thesis | custom thesis relating to height increase or footcare please visit HEELSNCLEAVAGE
    Thats great, Ive messed around with Zookeeper a few times
    thesis help | online thesis

    ezeen Sun Nov 22 03:16:10 -0800 2009
    Please log in to comment.