Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    basecamp-next 0.1.5

    Download button

    No screenshots available
    Downloads: 84  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Rimvydas Naktinis | More programs
    MIT/X Consortium Lic... / FREE
    June 5th, 2012, 07:56 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    basecamp-next description

    Wrapper for Basecamp Next API

    basecamp-next is a Python wrapper library for the Basecamp Next API.

    First, you need to ask user's permission to access her data:

    from basceampx.auth import Auth
    auth = Auth('clientid', 'clientsecret', 'http://my_app/handle_redirect')
    authorize_url = auth.authorize_url()


    Redirect the user to the authorize_url. After user grants you access, get the access token:

    token = auth.access_token(code)['access_token']

    Find the accounts that this user has:

    from basecampx import Client
    client = Client(token, 'YourAppName')
    bcx_account = client.basecamp_accounts()[0]


    Use a user's Basecamp Next account to access data in projects:

    client = Client(token, 'YourAppName', bcx_account['id'])

    from basecampx import Projects
    project_list = Projects(client).list()
    project_names = [project['name'] for project in project_list]


    Get all discussions in a project:

    messages = Projects(client, 12345).topics.list()


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    Basecamp Next API | Python library | Python | Basecamp Next | API

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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