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.8.zip (41.0 kB view details)

Uploaded Source

teambition-0.1.8.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

teambition-0.1.8-py2.py3-none-any.whl (37.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file teambition-0.1.8.zip.

File metadata

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

File hashes

Hashes for teambition-0.1.8.zip
Algorithm Hash digest
SHA256 238781e63e9773cb98ec571ce5c338eb806c4745fb5bf008c5184271f7791ad8
MD5 ad0b34c349b7372827fcd8cedc8abdc3
BLAKE2b-256 d91f1ae5ae976c47a4cb9b79aad66717aaf8701b3a95108649898f0fa9d1e433

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for teambition-0.1.8.tar.gz
Algorithm Hash digest
SHA256 69e4ce383d9bb98a4b2a6135978918dafbacf284b26a08b077cd7dcc0b4e6aa7
MD5 dba0f8be637534ba0f7290e314c48fed
BLAKE2b-256 471782d1618e650c6abfc94af619c278f97cbbda77d93ca1afe93bd3246aeca1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for teambition-0.1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8d1496b21ffe39b2e24571efc4315a59518a1cebde55ca3aef8cc13ee4757d93
MD5 9b6cdb1fee81ed59261d4c19ede01c7f
BLAKE2b-256 e7dee55f1416c52cd3353521fffdaeee6c5b3799204e6ac89c384e5a1b79c8a0

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