Skip to main content

Teambition Python API

Project description

teambition-api

Teambition Python API

阅读文档:http://teambition-api.readthedocs.org/zh_CN/latest/

安装与升级

推荐使用 pip 进行安装:

pip install teambition

升级版本:

pip install -U teambition

基本用法

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from teambition import Teambition

client_key = 'Your client key'
client_secret = 'You client secret'
redirect_uri = 'http://localhost'


tb = Teambition(client_key, client_secret)

# 获取授权地址
url = tb.oauth.get_authorize_url(redirect_uri)

# 通过 code 获取 access_token

tb.oauth.fetch_access_token('Your code')

# 其它操作

License

The MIT License (MIT)

Copyright (c) 2015 messense

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

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

Source Distributions

teambition-0.1.5.zip (37.3 kB view details)

Uploaded Source

teambition-0.1.5.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

teambition-0.1.5-py2.py3-none-any.whl (33.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file teambition-0.1.5.zip.

File metadata

  • Download URL: teambition-0.1.5.zip
  • Upload date:
  • Size: 37.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for teambition-0.1.5.zip
Algorithm Hash digest
SHA256 3a37c5b144984acb820e5b86a96618472a394ad75740445b799c75c5ea6cdf9b
MD5 a9dc4dcd600451346977d3ebb5450ff7
BLAKE2b-256 5fba663491234a4b7c8ad05693a61893b2bd08b8b3dd6a5e89e286de566b116d

See more details on using hashes here.

File details

Details for the file teambition-0.1.5.tar.gz.

File metadata

  • Download URL: teambition-0.1.5.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for teambition-0.1.5.tar.gz
Algorithm Hash digest
SHA256 397e5bda5868f3e43bed5b1496caa6a01adb9529d9c75241be3b286b63530b36
MD5 2e3f70d8f1f1b42034f21b6c486fbd47
BLAKE2b-256 e128acca1d0823f446f4895d503ab50a79147e3772de91060cdb31d9bf48ec50

See more details on using hashes here.

File details

Details for the file teambition-0.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for teambition-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 be1c075a3cddd9f564db3c0cfc1f80e0dd8e7b35589697a24fdff9bd590326a3
MD5 c7245a9272e18a58eaec5dfccb3f86a7
BLAKE2b-256 3f75e4d901205c339f15cf701c6bcbeaef60a2800284572987a5c434e38c7b68

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