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.2.zip (37.5 kB view details)

Uploaded Source

teambition-0.1.2.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

teambition-0.1.2-py2.py3-none-any.whl (34.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file teambition-0.1.2.zip.

File metadata

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

File hashes

Hashes for teambition-0.1.2.zip
Algorithm Hash digest
SHA256 5680f520e848805ae44bd116c2623580abfb976ed51a895a61e3f8674a802b3b
MD5 261bbd27dfb2d23869f29685a3e6389e
BLAKE2b-256 23b9ef8b08d361235e7039c7e24f8191e9e609b032736a995d9c45eeb34b412b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for teambition-0.1.2.tar.gz
Algorithm Hash digest
SHA256 aa3db867b4a0aae0082060c15303e6d54318a872fed813b1d52e6e7b49f788b3
MD5 98a1dd230c5e4ecd95407cd79209b97d
BLAKE2b-256 9a2f1b82bcb17f7334f10c501dbda1b409a9a6662cd5ad179029847e9087c3a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for teambition-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 26bde77c0e2545132513083e19534b24b7061e2ffa10ced92008736738f53237
MD5 16330bf9b917a9c1f4d50505766bcc50
BLAKE2b-256 aa1a5e6fd200df735365e3a526977399a070855e0747f1f56d39adaf2198710e

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