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.9.zip (41.4 kB view details)

Uploaded Source

teambition-0.1.9.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

teambition-0.1.9-py2.py3-none-any.whl (38.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file teambition-0.1.9.zip.

File metadata

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

File hashes

Hashes for teambition-0.1.9.zip
Algorithm Hash digest
SHA256 f8bfc07719bb221457629dda3265adfe38885d8bf438091fb4374cc149ffb251
MD5 17f71db5d487f343e61b1955bbe71019
BLAKE2b-256 b56559e1a86b34e70ff03e163094e4da8b272006f632722d2382de011308f41f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for teambition-0.1.9.tar.gz
Algorithm Hash digest
SHA256 3b090a825b0356832c50b788db7bace87424cf1309566ff65abb113fc52f2daf
MD5 a999ef14a1269c042913be002737266a
BLAKE2b-256 784afaad4b0a3c450106f58625716a5de02ff0521f422726b28340feb1bb0b34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for teambition-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f3308f6cc8fa78fb2665a2a787039bcd983040933bf10f35fc4935a2f19b2292
MD5 c793ae35cd4578026e918d234da8e08f
BLAKE2b-256 f4748a3725ea5710911a5968596ded484755f229c35ec9ae3f6b5722dc6742cc

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