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.11.zip (41.8 kB view details)

Uploaded Source

teambition-0.1.11.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

teambition-0.1.11-py2.py3-none-any.whl (38.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file teambition-0.1.11.zip.

File metadata

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

File hashes

Hashes for teambition-0.1.11.zip
Algorithm Hash digest
SHA256 9cfcdabba57541448b4cda3d2995df2bd65f33a6aa32e67cd3d65e3c5f516432
MD5 8e258251e173832beb72b790a1916c9c
BLAKE2b-256 f254c4e5feb5bcc712e58e11c17f467e6e2bb5916263f162988c807f81ea0f1b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for teambition-0.1.11.tar.gz
Algorithm Hash digest
SHA256 57e2a5b2f1a21c3d27ba4755ee3541838ed7a623c8648d47168d9f4588e00900
MD5 2c60b0905c86e9b794c8c4b6db957b27
BLAKE2b-256 323089428fd825e33515db9d42c98b31a5e9da6bff147f3cb8fb35c5f098906b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for teambition-0.1.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a689b71319bfedf22c2871fab37c2f5df1e36868fdfc4cba679ace18cac16db
MD5 6a6101af0374e778854ef48553557191
BLAKE2b-256 b3e66614cd4309c316c42d80a4d246de5e41ff7b94c4e7756067bff8fe591b1e

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