Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    pyreadernaut 0.3

    Download button

    No screenshots available
    Downloads: 190  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Oscar Duignan | More programs
    BSD License / FREE
    December 31st, 2009, 00:58 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    pyreadernaut description

    Simple Python wrapper around the Readernaut.com API

    pyreadernaut is a simple Python wrapper around the Readernaut.com API.

    Installation:

    You can install by running the following command inside this directory.
       
        python setup.py install

    You can also install using either ``easy_install`` or ``pip``.
       
        easy_install pyreadernaut
       
        pip install pyreadernaut


    Or you can just place readernaut.py somewhere on your python path.

    Usage Examples:

    This example gets a list of the books that 'oscarduignan' is reading.

        import readernaut
       
        book_list = readernaut.get_books('oscarduignan', 'reading')
        for book in book_list:
            print '%s by %s' % (book['title'], ', '.join(book['authors']))


    The Readernaut API only returns the first 20 results, you can request the next 20 results by passing in a dict with the optional url data.

        book_list = readernaut.get_books('oscarduignan', 'reading', {'page': 2})

    You can control the order of the results in the same way.

        book_list = readernaut.get_books('oscarduignan', 'reading', {'order': '-modified'})

    The above should be enough for most users, but you will find there are a few more functions which you may find useful if you look at the source code.

    Readernaut API documentation
    (http://groups.google.com/group/readernaut-api/web/restful-api-overview)


    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · Query strings were not being appened to url correctly, fixed

      


    TAGS:

    Readernaut API | Python wrapper | Python library | Readernaut | API | wrapper



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM