Skip to main content

Wrapper for Basecamp Next API.

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

basecampx-0.1.7.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file basecampx-0.1.7.tar.gz.

File metadata

  • Download URL: basecampx-0.1.7.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for basecampx-0.1.7.tar.gz
Algorithm Hash digest
SHA256 5b0094bb2694f7046866675ad50a0a2423455d6a931f034f0c8fde1d7995a6e2
MD5 a217df9fc5e85cf2e88f9b2c03fe860b
BLAKE2b-256 3f534241e57152c0fe4e83f86c80b79a38ac0a6d96f14916a377673de82981cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page