Skip to main content

Python wrapper for the Assembla API

Project description

===========
Assembla: Python wrapper for API
===========

An easy to use wrapper around the Assembla API which allows you to retrieve
Spaces, Milestones, Tickets and Users.

Typical usage::

import assembla

API = assembla.API(
'Username',
'Password',
)

# Retrieve your available spaces
spaces = API.spaces()

# Select a specific space
space = filter(
lambda space: space.name=='My Space',
spaces
)[0]

# Objects returned possess all the attributes available through the API.
# For example, we can output the space's name
print(space.name)

# Retrieve the space's milestones, tickets and users
milestones = space.milestones()
tickets = space.tickets()
users = space.users()

# Select a specific milestone
milestone = filter(
lambda milestone: milestone.title=='Release Candidate 1',
milestones
)[0]

# Retrieve and output the milestone's tickets
for ticket in milestone.tickets():
print(ticket.number, ticket.summary)

Source: https://github.com/mfinger/assembla

API Reference: http://www.assembla.com/spaces/breakoutdocs/wiki/Assembla_REST_API

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

assembla-1.0.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

assembla-1.0.0.linux-x86_64.tar.gz (27.1 kB view details)

Uploaded Source

File details

Details for the file assembla-1.0.0.tar.gz.

File metadata

  • Download URL: assembla-1.0.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for assembla-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b85e2aefdc8934adf2fb2e46c1de64d7999986a8aa85a50eb01b9c5694021bb2
MD5 50730814b1343cedabc5d9fb4f17c524
BLAKE2b-256 716a613cd03af976355749e9f2557d44b2e289a395074c4562d26eb49cf92836

See more details on using hashes here.

File details

Details for the file assembla-1.0.0.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for assembla-1.0.0.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 27f828342588a8f829cd7ec9fea0a9c697cf7e136441c5a965b9ca959f9ccc84
MD5 dd3632067592f81ea28177f102732404
BLAKE2b-256 896aa1bfc7e8a5e0aa3ea119e4ae28eca7bcbb45301432f043222e900184e9f7

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